usb: otg: TWL6030 Save the last event in otg_transceiver
authorHema HK <hemahk@ti.com>
Thu, 17 Feb 2011 06:36:09 +0000 (11:36 +0530)
committerFelipe Balbi <balbi@ti.com>
Fri, 18 Feb 2011 12:05:52 +0000 (14:05 +0200)
commit647b2d9c61fe9a842dd89eb01b5f01e9d437993c
tree58e072fdd2e0058f993a42fc8032fc1384d149ea
parent070b8ed96e01adeb978d4f8487fb1350a28fcd0d
usb: otg: TWL6030 Save the last event in otg_transceiver

Save the last event in the otg_transceiver so that it can used in the
musb driver and gadget driver to configure the musb and enable the
vbus for host mode and OTG mode, if the device is connected during boot.

Signed-off-by: Hema HK <hemahk@ti.com>
Cc: Tony Lindgren <tony@atomide.com>
Cc: Paul Walmsley <paul@pwsan.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/otg/twl6030-usb.c
include/linux/usb/otg.h