diff options
author | Felipe Balbi <balbi@ti.com> | 2015-06-02 13:03:36 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-08-03 09:29:55 -0700 |
commit | 26cbf8ea380a3e1ed1c22697c476e0576531d7a3 (patch) | |
tree | 91cb59ba6381c08dd162c43cf879f3a8220c2a9e /lib/fonts | |
parent | 4a2b2ec160c8b5565628b42230427fce1f03a7fe (diff) |
usb: musb: host: rely on port_mode to call musb_start()
commit be9d39881fc4fa39a64b6eed6bab5d9ee5125344 upstream.
Currently, we're calling musb_start() twice for DRD ports
in some situations. This has been observed to cause enumeration
issues after suspend/resume cycles with AM335x.
In order to fix the problem, we just have to fix the check
on musb_has_gadget() so that it only returns true if
current mode is Host and ignore the fact that we have or
not a gadget driver loaded.
Fixes: ae44df2e21b5 (usb: musb: call musb_start() only once in OTG mode)
Cc: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Tested-by: Sekhar Nori <nsekhar@ti.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'lib/fonts')
0 files changed, 0 insertions, 0 deletions