mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-22 06:32:08 +00:00
usb: otg: TWL4030: Update the last_event variable.
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>
This commit is contained in:
parent
7acc6197b7
commit
37db3af11f
1 changed files with 2 additions and 0 deletions
|
@ -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",
|
dev_dbg(twl->dev, "HW_CONDITIONS 0x%02x/%d; link %d\n",
|
||||||
status, status, linkstat);
|
status, status, linkstat);
|
||||||
|
|
||||||
|
twl->otg.last_event = linkstat;
|
||||||
|
|
||||||
/* REVISIT this assumes host and peripheral controllers
|
/* REVISIT this assumes host and peripheral controllers
|
||||||
* are registered, and that both are active...
|
* are registered, and that both are active...
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue