summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorIvan T. Ivanov <iivanov@mm-sol.com>2014-09-11 04:19:00 +0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-09-11 04:30:39 +0400
commit233c7daf4eecd1e992dc42591182cd4a892e687c (patch)
tree7432ffe4c73093f7c086aa252d6c8033957358eb /drivers
parentea290056d7c46f7781ff13801048ed957b96d1a5 (diff)
downloadlinux-233c7daf4eecd1e992dc42591182cd4a892e687c.tar.xz
usb: chipidea: msm: Initialize PHY on reset event
Initialize USB PHY after every Link controller reset Cc: 3.16+ <stable@vger.kernel.org> Cc: Tim Bird <tbird20d@gmail.com> Signed-off-by: Peter Chen <peter.chen@freescale.com> Signed-off-by: Ivan T. Ivanov <iivanov@mm-sol.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers')
-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");