aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/usb/otg/twl4030-usb.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/usb/otg/twl4030-usb.c b/drivers/usb/otg/twl4030-usb.c
index 2362d8352bc8..e01b073cc489 100644
--- a/drivers/usb/otg/twl4030-usb.c
+++ b/drivers/usb/otg/twl4030-usb.c
@@ -275,6 +275,8 @@ static enum usb_xceiv_events twl4030_usb_linkstat(struct twl4030_usb *twl)
275 dev_dbg(twl->dev, "HW_CONDITIONS 0x%02x/%d; link %d\n", 275 dev_dbg(twl->dev, "HW_CONDITIONS 0x%02x/%d; link %d\n",
276 status, status, linkstat); 276 status, status, linkstat);
277 277
278 twl->otg.last_event = linkstat;
279
278 /* REVISIT this assumes host and peripheral controllers 280 /* REVISIT this assumes host and peripheral controllers
279 * are registered, and that both are active... 281 * are registered, and that both are active...
280 */ 282 */