summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDoug Zobel <dzobel1@motorola.com>2014-02-13 14:29:00 -0600
committerJames Wylder <jwylder@motorola.com>2014-03-05 17:47:26 -0600
commit1b286f4ab99b463b1ff62f770f883900f9f5440f (patch)
treed68ee1727fa009d7cf41d685cee066b9bd48a135
parente479e0c718c1c257a68a095ac2d8a5c3f5f45f56 (diff)
downloadolio-linux-3.10-1b286f4ab99b463b1ff62f770f883900f9f5440f.tar.xz
olio-linux-3.10-1b286f4ab99b463b1ff62f770f883900f9f5440f.zip
IKXCLOCK-242 usb: Initialize t-usb phy at probe
TUSB phy driver needs to set the phy to the correct state once at boot since there may not be an interrupt fired when they are enabled. Change-Id: I3cda43cee8048a3bb90eb1b4b2a7a0e581e016d5
-rw-r--r--drivers/usb/phy/phy-tusb.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/usb/phy/phy-tusb.c b/drivers/usb/phy/phy-tusb.c
index 12ac80984c3..997a92acadc 100644
--- a/drivers/usb/phy/phy-tusb.c
+++ b/drivers/usb/phy/phy-tusb.c
@@ -284,6 +284,9 @@ static int tusb_usb_probe(struct platform_device *pdev)
platform_set_drvdata(pdev, tusb);
+ /* initialize PHY to correct state */
+ queue_work(tusb->workqueue, &tusb->work);
+
return 0;
disable_irq: