ACK: [PATCH 1/1][F/G/H] USB: Verify the port status when timeout happens during port suspend

Krzysztof Kozlowski krzysztof.kozlowski at canonical.com
Tue May 25 15:02:50 UTC 2021


On 25/05/2021 01:47, chris.chiu at canonical.com wrote:
> From: Chris Chiu <chris.chiu at canonical.com>
> 
> BugLink: https://bugs.launchpad.net/bugs/1928242
> 
> On the Realtek high-speed Hub(0bda:5487), the port which has wakeup
> enabled_descendants will sometimes timeout when setting PORT_SUSPEND
> feature. After checking the PORT_SUSPEND bit in wPortStatus, it is
> already set which means the port has been suspended. We should treat
> it suspended to make sure it will be resumed correctly.
> 
> Acked-by: Alan Stern <stern at rowland.harvard.edu>
> Signed-off-by: Chris Chiu <chris.chiu at canonical.com>
> Link: https://lore.kernel.org/r/20210514045405.5261-2-chris.chiu@canonical.com
> Signed-off-by: Greg Kroah-Hartman <gregkh at linuxfoundation.org>
> (cherry picked from commit 7142452387c72207f34683382b04f38499da58f7 linux-next)
> Signed-off-by: Chris Chiu <chris.chiu at canonical.com>
> ---
>  drivers/usb/core/hub.c | 21 +++++++++++++++++++++
>  1 file changed, 21 insertions(+)
> 


Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski at canonical.com>

Best regards,
Krzysztof



More information about the kernel-team mailing list