linux_dsm_epyc7002/drivers/usb/dwc3
Matthias Kaehlcke adb9639d1e usb: dwc3: qcom: Honor wakeup enabled/disabled state
commit 2664deb0930643149d61cddbb66ada527ae180bd 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:06:29 +01:00
..
core.c usb: dwc3: fix clock issue during resume in OTG mode 2021-02-10 09:29:10 +01:00
core.h usb: dwc3: ulpi: Use VStsDone to detect PHY regs access completion 2021-01-12 20:18: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
dwc3-omap.c
dwc3-pci.c
dwc3-qcom.c usb: dwc3: qcom: Honor wakeup enabled/disabled state 2021-03-17 17:06:29 +01:00
dwc3-st.c
ep0.c
gadget.c usb: dwc3: gadget: Fix dep->interval for fullspeed interrupt 2021-03-04 11:38:24 +01:00
gadget.h
host.c
io.h
Kconfig
Makefile
trace.c
trace.h
ulpi.c usb: dwc3: ulpi: Fix USB2.0 HS/FS/LS PHY suspend regression 2021-01-12 20:18:19 +01:00