usb: musb: move otg specific initializations from twl to glue
authorKishon Vijay Abraham I <kishon@ti.com>
Fri, 22 Jun 2012 12:10:53 +0000 (17:40 +0530)
committerFelipe Balbi <balbi@ti.com>
Mon, 25 Jun 2012 11:08:42 +0000 (14:08 +0300)
commitc83a8542b5e3c5b30825955a68b1cc8bd24b122a
tree1cc3233f95af3c904defa6487d6f076bea0f9bdb
parentc9721438c009adf8e81d376839ed037c53b9b8d9
usb: musb: move otg specific initializations from twl to glue

Moved otg specific state(OTG_STATE_B_IDLE, OTG_STATE_A_IDLE) initializations
from twl to glue. These initializations are removed from twl4030 and
twl6030 and moved to the mailbox API defined in glue.
This is part of the cleanup in preparation to make use of usb2 phy
driver.

Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/musb/omap2430.c
drivers/usb/otg/twl4030-usb.c
drivers/usb/otg/twl6030-usb.c