Commit 975f94c
usb: core: hub: fix race condition about TRSMRCY of resume
This may happen if the port becomes resume status exactly
when usb_port_resume() gets port status, it still need provide
a TRSMCRY time before access the device.
CC: <stable@vger.kernel.org>
Reported-by: Tianping Fang <tianping.fang@mediatek.com>
Acked-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Chunfeng Yun <chunfeng.yun@mediatek.com>
Link: https://lore.kernel.org/r/20210512020738.52961-1-chunfeng.yun@mediatek.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>1 parent 12701ce commit 975f94c
1 file changed
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3642 | 3642 | | |
3643 | 3643 | | |
3644 | 3644 | | |
3645 | | - | |
3646 | | - | |
3647 | | - | |
3648 | 3645 | | |
3649 | 3646 | | |
3650 | 3647 | | |
| |||
3659 | 3656 | | |
3660 | 3657 | | |
3661 | 3658 | | |
| 3659 | + | |
| 3660 | + | |
| 3661 | + | |
3662 | 3662 | | |
3663 | 3663 | | |
3664 | 3664 | | |
| |||
0 commit comments