]> asedeno.scripts.mit.edu Git - linux.git/commit
usb: musb: omap2430: Wait on enable to avoid babble
authorTony Lindgren <tony@atomide.com>
Wed, 15 Jan 2020 13:25:27 +0000 (07:25 -0600)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 15 Jan 2020 13:46:55 +0000 (14:46 +0100)
commitce3ab6503ebaba976405858616d7f6094e364973
tree1eec8e10e08768480b11cf35d655644b47468e76
parent91b6dec32e5c25fbdbb564d1e5af23764ec17ef1
usb: musb: omap2430: Wait on enable to avoid babble

We can get babble interrupt if we attempt to switch to USB host mode too
soon after enabling musb. Let's fix the issue by waiting a bit in
runtime_resume.

Cc: Jacopo Mondi <jacopo@jmondi.org>
Cc: Marcel Partap <mpartap@gmx.net>
Cc: Merlijn Wajer <merlijn@wizzup.org>
Cc: Michael Scott <hashcode0f@gmail.com>
Cc: NeKit <nekit1000@gmail.com>
Cc: Pavel Machek <pavel@ucw.cz>
Cc: Sebastian Reichel <sre@kernel.org>
Acked-by: Pavel Machek <pavel@ucw.cz>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Bin Liu <b-liu@ti.com>
Link: https://lore.kernel.org/r/20200115132547.364-6-b-liu@ti.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/musb/omap2430.c