diff options
author | Chunfeng Yun <[email protected]> | 2022-09-29 14:44:59 +0800 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2022-09-30 13:55:48 +0200 |
commit | 1c703e29da5efac6180e4c189029fa34b7e48e97 (patch) | |
tree | 09e8b49c1c84f4bb5b6f00184f56463a8f45c71c /lib/test_fortify/write_overflow-strncpy-src.c | |
parent | 4b833fb3eb1e5c87f51211844b39743ccd01eac9 (diff) |
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: 6b587394c65c ("usb: mtu3: support suspend/resume for dual-role mode")
Reviewed-by: AngeloGioacchino Del Regno <[email protected]>
Reported-by: Tianping Fang <[email protected]>
Signed-off-by: Chunfeng Yun <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions