Files
linux/drivers
Matthias Kaehlcke d01013e377 FROMGIT: usb: dwc3: qcom: Honor wakeup enabled/disabled state
The dwc3-qcom currently enables wakeup interrupts unconditionally
when suspending, however this should not be done when wakeup is
disabled (e.g. through the sysfs attribute power/wakeup). Only
enable wakeup interrupts when device_may_wakeup() returns true.

Fixes: a4333c3a6b ("usb: dwc3: Add Qualcomm DWC3 glue driver")
Reviewed-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Signed-off-by: Matthias Kaehlcke <mka@chromium.org>
Cc: stable <stable@vger.kernel.org>
Link: https://lore.kernel.org/r/20210302103659.v2.1.I44954d9e1169f2cf5c44e6454d357c75ddfa99a2@changeid
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
(cherry picked from commit dc649f810a4c1e18dded8d4f1e1c42b40ff6bb2e
 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-linus)
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Change-Id: I63a5e51301dd9f05f29556f20342813ed5451466
2021-03-08 19:46:25 +01:00
..
2021-03-07 12:33:33 +01:00
2021-03-07 12:33:33 +01:00
2021-03-07 12:33:33 +01:00
2021-03-07 12:53:30 +01:00
2021-03-07 12:33:33 +01:00
2021-03-07 12:33:33 +01:00
2021-01-27 11:55:12 +01:00
2021-03-07 12:33:33 +01:00
2021-03-07 12:33:33 +01:00
2021-03-07 12:53:30 +01:00
2021-03-07 12:33:33 +01:00
2021-03-07 12:33:33 +01:00
2021-03-04 11:38:21 +01:00
2021-03-07 12:53:30 +01:00
2021-03-07 12:33:33 +01:00
2021-03-07 12:33:33 +01:00
2021-01-19 18:27:26 +01:00
2021-03-07 12:33:33 +01:00
2021-03-07 12:53:30 +01:00
2021-03-07 12:33:33 +01:00
2021-03-07 12:33:33 +01:00
2021-03-07 12:33:33 +01:00
2021-03-07 12:53:30 +01:00
2021-03-07 12:33:33 +01:00
2021-03-07 12:33:33 +01:00
2021-03-07 12:53:30 +01:00
2021-03-07 12:33:33 +01:00
2020-12-30 11:53:53 +01:00
2021-01-17 14:17:02 +01:00
2021-03-07 12:33:33 +01:00
2021-03-07 12:33:33 +01:00
2021-03-07 12:33:33 +01:00
2021-03-07 12:53:30 +01:00
2021-03-07 12:33:33 +01:00
2021-03-07 12:33:33 +01:00
2021-03-07 12:53:30 +01:00
2021-03-04 11:37:28 +01:00
2021-03-07 12:33:33 +01:00
2021-03-07 12:53:30 +01:00
2021-03-07 12:33:33 +01:00
2021-03-07 12:53:30 +01:00