linux-stable/drivers/usb/mtu3
Chunfeng Yun 1c703e29da usb: mtu3: fix failed runtime suspend in host only mode
When the dr_mode is "host", after the host enter runtime suspend,
the mtu3 can't do it, because the mtu3's device wakeup function is
not enabled, instead it's enabled in gadget init function, to fix
the issue, init wakeup early in mtu3's probe()

Fixes: 6b587394c6 ("usb: mtu3: support suspend/resume for dual-role mode")
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Reported-by: Tianping Fang <tianping.fang@mediatek.com>
Signed-off-by: Chunfeng Yun <chunfeng.yun@mediatek.com>
Link: https://lore.kernel.org/r/20220929064459.32522-1-chunfeng.yun@mediatek.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2022-09-30 13:55:48 +02:00
..
Kconfig
Makefile
mtu3.h usb: mtu3: add feature to disable device's usb3 port 2022-07-08 14:53:23 +02:00
mtu3_core.c usb: mtu3: fix failed runtime suspend in host only mode 2022-09-30 13:55:48 +02:00
mtu3_debug.h usb: mtu3: mtu3_debug: remove an unused struct member 2020-12-04 16:49:06 +01:00
mtu3_debugfs.c usb: mtu3: print endpoint type as string 2022-07-08 14:53:18 +02:00
mtu3_dr.c usb: mtu3: fix USB 3.0 dual-role-switch from device to host 2022-04-21 19:06:41 +02:00
mtu3_dr.h usb: mtu3: support suspend/resume for dual-role mode 2021-07-27 15:58:37 +02:00
mtu3_gadget.c usb: mtu3: support function remote wakeup 2022-07-08 14:53:30 +02:00
mtu3_gadget_ep0.c usb: mtu3: support function remote wakeup 2022-07-08 14:53:30 +02:00
mtu3_host.c usb: mtu3: fix random remote wakeup 2021-08-26 13:41:52 +02:00
mtu3_hw_regs.h usb: mtu3: support function remote wakeup 2022-07-08 14:53:30 +02:00
mtu3_plat.c usb: mtu3: fix failed runtime suspend in host only mode 2022-09-30 13:55:48 +02:00
mtu3_qmu.c usb: mtu3: add memory barrier before set GPD's HWO 2021-12-21 09:05:44 +01:00
mtu3_qmu.h USB: mtu3: Use the correct style for SPDX License Identifier 2020-04-16 14:32:48 +02:00
mtu3_trace.c usb: mtu3: mtu3_trace: Supply missing mtu3_debug.h include file 2020-07-15 17:25:57 +02:00
mtu3_trace.h Tracing updates for 5.20 / 6.0 2022-08-05 09:41:12 -07:00