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>
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user