aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIvan T. Ivanov <[email protected]>2014-09-11 08:19:00 +0800
committerGreg Kroah-Hartman <[email protected]>2014-09-10 17:30:39 -0700
commit233c7daf4eecd1e992dc42591182cd4a892e687c (patch)
tree7432ffe4c73093f7c086aa252d6c8033957358eb
parentea290056d7c46f7781ff13801048ed957b96d1a5 (diff)
usb: chipidea: msm: Initialize PHY on reset event
Initialize USB PHY after every Link controller reset Cc: 3.16+ <[email protected]> Cc: Tim Bird <[email protected]> Signed-off-by: Peter Chen <[email protected]> Signed-off-by: Ivan T. Ivanov <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
-rw-r--r--drivers/usb/chipidea/ci_hdrc_msm.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/usb/chipidea/ci_hdrc_msm.c b/drivers/usb/chipidea/ci_hdrc_msm.c
index 30bdd51a6d77..4935ac38fd00 100644
--- a/drivers/usb/chipidea/ci_hdrc_msm.c
+++ b/drivers/usb/chipidea/ci_hdrc_msm.c
@@ -26,6 +26,7 @@ static void ci_hdrc_msm_notify_event(struct ci_hdrc *ci, unsigned event)
dev_dbg(dev, "CI_HDRC_CONTROLLER_RESET_EVENT received\n");
writel(0, USB_AHBBURST);
writel(0, USB_AHBMODE);
+ usb_phy_init(ci->transceiver);
break;
case CI_HDRC_CONTROLLER_STOPPED_EVENT:
dev_dbg(dev, "CI_HDRC_CONTROLLER_STOPPED_EVENT received\n");