linux-stable/drivers/usb/dwc3
Matthias Kaehlcke cc495be174 usb: dwc3: qcom: Honor wakeup enabled/disabled state
commit 2664deb093 upstream.

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>
2021-03-17 17:03:49 +01:00
..
core.c usb: dwc3: fix clock issue during resume in OTG mode 2021-02-10 09:25:29 +01:00
core.h usb: dwc3: ulpi: Use VStsDone to detect PHY regs access completion 2021-01-12 20:16:18 +01:00
debug.h
debugfs.c
drd.c
dwc3-exynos.c
dwc3-haps.c
dwc3-keystone.c
dwc3-meson-g12a.c
dwc3-of-simple.c usb: dwc3: simple: add support for Hikey 970 2020-10-29 09:58:05 +01:00
dwc3-omap.c
dwc3-pci.c usb: dwc3: pci: add support for the Intel Alder Lake-S 2020-11-18 19:20:21 +01:00
dwc3-qcom.c usb: dwc3: qcom: Honor wakeup enabled/disabled state 2021-03-17 17:03:49 +01:00
dwc3-st.c
ep0.c usb: dwc3: ep0: Fix delay status handling 2020-11-10 12:37:33 +01:00
gadget.c usb: dwc3: gadget: Fix dep->interval for fullspeed interrupt 2021-03-04 10:26:42 +01:00
gadget.h usb: dwc3: gadget: END_TRANSFER before CLEAR_STALL command 2020-11-05 11:43:28 +01:00
host.c
io.h
Kconfig
Makefile
trace.c
trace.h
ulpi.c usb: dwc3: ulpi: Replace CPU-based busyloop with Protocol-based one 2021-02-17 10:35:18 +01:00