summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSakethram Bommisetti <sakethram.bommisetti@stericsson.com>2012-01-17 19:55:42 +0530
committerPhilippe Langlais <philippe.langlais@stericsson.com>2012-05-22 11:03:17 +0200
commit23e602604281f9bbf80a5b0d87f7c826e3c6a9de (patch)
tree3900b050dd078cb09028589f651c656560bd0196
parentdeb13f80a02e4a0d5e6e03950a743d7325ae6ef1 (diff)
Ux500:USB:Handling Host state machine
Host state machine is being updated at the time of switching off the vbus.It should be handled as part of timer call back from the Disconnect interrupt. ST-Ericsson Linux next: NA ST-Ericsson ID: 373930 ST-Ericsson FOSS-OUT ID: Trivial Change-Id: I0a7d35591edcc8e42d4c35f714c76b6f751d932e Signed-off-by: Sakethram Bommisetti <sakethram.bommisetti@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/45731 Reviewed-by: Srinidhi KASAGAR <srinidhi.kasagar@stericsson.com>
-rw-r--r--drivers/usb/musb/ux500.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/usb/musb/ux500.c b/drivers/usb/musb/ux500.c
index 5d0c5eda128..77454c6ead2 100644
--- a/drivers/usb/musb/ux500.c
+++ b/drivers/usb/musb/ux500.c
@@ -349,7 +349,6 @@ static void ux500_musb_set_vbus(struct musb *musb, int is_on)
* jumping right to B_IDLE...
*/
musb->xceiv->default_a = 0;
- musb->xceiv->state = OTG_STATE_B_IDLE;
devctl &= ~MUSB_DEVCTL_SESSION;
MUSB_DEV_MODE(musb);
}