diff options
author | Bin Liu <b-liu@ti.com> | 2020-05-24 21:50:45 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-06-10 20:24:56 +0200 |
commit | e8f57f50e31b26aaa2f663bd434b5ba74280157f (patch) | |
tree | 3369a9e2d0e325e05c285d199150245ef9dafe1e /drivers/usb/musb/musb_debugfs.c | |
parent | 8d130bf2fcab7b2bb094bb03a437fe16eada1654 (diff) |
usb: musb: start session in resume for host port
commit 7f88a5ac393f39319f69b8b20cc8d5759878d1a1 upstream.
Commit 17539f2f4f0b ("usb: musb: fix enumeration after resume") replaced
musb_start() in musb_resume() to not override softconnect bit, but it
doesn't restart the session for host port which was done in musb_start().
The session could be disabled in musb_suspend(), which leads the host
port doesn't stay in host mode.
So let's start the session specifically for host port in musb_resume().
Fixes: 17539f2f4f0b ("usb: musb: fix enumeration after resume")
Cc: stable@vger.kernel.org
Signed-off-by: Bin Liu <b-liu@ti.com>
Link: https://lore.kernel.org/r/20200525025049.3400-3-b-liu@ti.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/musb/musb_debugfs.c')
0 files changed, 0 insertions, 0 deletions