diff options
author | Hema HK <hemahk@ti.com> | 2011-02-17 12:06:09 +0530 |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2011-02-18 14:05:52 +0200 |
commit | 647b2d9c61fe9a842dd89eb01b5f01e9d437993c (patch) | |
tree | 58e072fdd2e0058f993a42fc8032fc1384d149ea /include/linux/usb | |
parent | 070b8ed96e01adeb978d4f8487fb1350a28fcd0d (diff) | |
download | linux-stable-647b2d9c61fe9a842dd89eb01b5f01e9d437993c.tar.gz linux-stable-647b2d9c61fe9a842dd89eb01b5f01e9d437993c.tar.bz2 linux-stable-647b2d9c61fe9a842dd89eb01b5f01e9d437993c.zip |
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>
Diffstat (limited to 'include/linux/usb')
-rw-r--r-- | include/linux/usb/otg.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/usb/otg.h b/include/linux/usb/otg.h index a1a1e7a73ec9..da511eec3cb8 100644 --- a/include/linux/usb/otg.h +++ b/include/linux/usb/otg.h @@ -66,6 +66,7 @@ struct otg_transceiver { u8 default_a; enum usb_otg_state state; + enum usb_xceiv_events last_event; struct usb_bus *host; struct usb_gadget *gadget; |