]> git.baikalelectronics.ru Git - kernel.git/commit
usb: dwc2: Fix host mode hibernation exit with remote wakeup flow.
authorArtur Petrosyan <Arthur.Petrosyan@synopsys.com>
Fri, 16 Apr 2021 12:47:06 +0000 (16:47 +0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 22 Apr 2021 09:55:33 +0000 (11:55 +0200)
commitef9e73b88090a75b5dc62a7ef109ea3860adbfdd
tree6c00b80fef357d8ba49b813d218b2cd65401074b
parente29f2449a215742641895e4ca5ddaa71f7f0a6bd
usb: dwc2: Fix host mode hibernation exit with remote wakeup flow.

Added setting "port_connect_status_change" flag to "1" in order
to re-enumerate, because after exit from hibernation port
connection status is not detected.

Fixes: 19035fdec4c0 ("usb: dwc2: Add host/device hibernation functions")
Acked-by: Minas Harutyunyan <Minas.Harutyunyan@synopsys.com>
Signed-off-by: Artur Petrosyan <Arthur.Petrosyan@synopsys.com>
Link: https://lore.kernel.org/r/20210416124707.5EEC2A005D@mailhost.synopsys.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/dwc2/hcd.c