linux/drivers/usb
Chunfeng Yun faabbb103d usb: mtu3: fix failed runtime suspend in host only mode
[ Upstream commit 1c703e29da ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
History 2022-10-26 12:35:19 +02:00
..
atm usb: atm: cxacru: Fix typo in comment 2021-05-21 20:05:40 +02:00
c67x00 usb/c67x00: Replace tasklet with work 2021-01-26 18:36:37 +01:00
cdns3 usb: cdns3: fix incorrect handling TRB_SMM flag for ISOC transfer 2022-09-08 12:28:06 +02:00
chipidea usb: chipidea: udc: check request status before setting device address 2022-06-29 09:03:27 +02:00
class USB: cdc-acm: Add Icom PMR F3400 support (0c26:0020) 2022-09-08 12:28:06 +02:00
common usb: common: debug: Check non-standard control requests 2022-10-26 12:35:03 +02:00
core usb: add quirks for Lenovo OneLink+ Dock 2022-10-26 12:34:19 +02:00
dwc2 usb: dwc2: fix wrong order of phy_power_on and phy_init 2022-09-08 12:28:06 +02:00
dwc3 usb: dwc3: core: leave default DMA if the controller does not support 64-bit DMA 2022-09-28 11:11:42 +02:00
early Revert "usb: early: convert to readl_poll_timeout_atomic()" 2021-12-22 09:32:45 +01:00
gadget usb: gadget: function: fix dangling pnp_string in f_printer.c 2022-10-26 12:35:13 +02:00
host xhci: Don't show warning for reinit on known broken suspend 2022-10-26 12:35:13 +02:00
image USB: microtek: use set_host_byte() 2020-09-16 12:42:10 +02:00
isp1760 usb: isp1760: Fix out-of-bounds array access 2022-06-09 10:22:27 +02:00
misc usb: misc: fix improper handling of refcount in uss720_probe() 2022-05-09 09:14:28 +02:00
mon usb: mon: make mmapped memory read only 2022-10-12 09:53:28 +02:00
mtu3 usb: mtu3: fix failed runtime suspend in host only mode 2022-10-26 12:35:19 +02:00
musb musb: fix USB_MUSB_TUSB6010 dependency 2022-09-08 12:28:03 +02:00
phy extcon: Fix extcon_get_extcon_dev() error handling 2022-06-14 18:36:21 +02:00
renesas_usbhs usb: renesas: Fix refcount leak bug 2022-08-25 11:40:33 +02:00
roles usb: roles: add helper usb_role_string() 2021-05-27 09:17:18 +02:00
serial USB: serial: qcserial: add new usb-id for Dell branded EM7455 2022-10-15 07:59:02 +02:00
storage uas: ignore UAS for Thinkplus chips 2022-10-05 10:39:36 +02:00
typec usb: typec: ucsi: Remove incorrect warning 2022-10-05 10:39:36 +02:00
usbip usb: usbip: add missing device lock on tweak configuration cmd 2022-06-14 18:36:04 +02:00
Kconfig usb: remove reference to deleted config STB03xxx 2021-08-18 15:32:19 +02:00
Makefile usb: host: remove line for obsolete config USB_HWA_HCD 2021-08-18 15:32:19 +02:00
usb-skeleton.c USB: usb-skeleton: drop redundant in-urb check 2019-10-10 12:41:19 +02:00