Skip to content

Commit

Permalink
usb: otg: TWL4030: Update the last_event variable.
Browse files Browse the repository at this point in the history
Update the last_event variable of otg_transceiver. This will be used in
the musb platform glue driver for runtime idling the device.

Signed-off-by: Hema HK <hemahk@ti.com>
Cc: Felipe Balbi <balbi@ti.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
  • Loading branch information
Hema HK authored and Felipe Balbi committed Mar 1, 2011
1 parent 7acc619 commit 37db3af
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions drivers/usb/otg/twl4030-usb.c
Original file line number Diff line number Diff line change
Expand Up @@ -275,6 +275,8 @@ static enum usb_xceiv_events twl4030_usb_linkstat(struct twl4030_usb *twl)
dev_dbg(twl->dev, "HW_CONDITIONS 0x%02x/%d; link %d\n",
status, status, linkstat);

twl->otg.last_event = linkstat;

/* REVISIT this assumes host and peripheral controllers
* are registered, and that both are active...
*/
Expand Down

0 comments on commit 37db3af

Please sign in to comment.