]> git.baikalelectronics.ru Git - kernel.git/commit
usb: dwc3: qcom: fix runtime PM wakeup
authorJohan Hovold <johan+linaro@kernel.org>
Thu, 4 Aug 2022 15:09:57 +0000 (17:09 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 18 Aug 2022 17:33:40 +0000 (19:33 +0200)
commit9a6e4306ffcb889fa73239f121e67651e156b732
tree1e02fead9777c730b076a7d5f6a75f7142498ae1
parent6a241819ad566ac21a5d76496f0c6123ed02e487
usb: dwc3: qcom: fix runtime PM wakeup

A device must enable wakeups during runtime suspend regardless of
whether it is capable and allowed to wake the system up from system
suspend.

Fixes: 5b1fe5eb5e5c ("usb: dwc3: qcom: Honor wakeup enabled/disabled state")
Tested-by: Matthias Kaehlcke <mka@chromium.org>
Reviewed-by: Matthias Kaehlcke <mka@chromium.org>
Reviewed-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Signed-off-by: Johan Hovold <johan+linaro@kernel.org>
Link: https://lore.kernel.org/r/20220804151001.23612-6-johan+linaro@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/dwc3/dwc3-qcom.c