diff options
author | Peter Chen <peter.chen@freescale.com> | 2011-07-11 18:24:50 +0800 |
---|---|---|
committer | Jason Liu <r64343@freescale.com> | 2012-01-09 20:18:38 +0800 |
commit | 7ca184675e6650bbb336423c8adf78dc62f442cb (patch) | |
tree | d026569a86e8c090efc288982567c350ab7bd36b /arch/arm/plat-mxc/usb_wakeup.c | |
parent | 50047624d2850cc8ea2abd2df43eb835cec3f733 (diff) |
ENGR00152915-1 mx6q-usb: refine usb phy usage
(Fixed the bug that PLL7 lock failed after usb enters low power mode)
After confirming with IC guys, the phy clock should be used
like below:
- OTG phy clock
EN_USB_CLKS: should be also enabled
PLL3 power: Enable/Disable on the fly
- Host1 phy clock
EN_USB_CLKS and PLL7 power should be also enabled at the initialization
PLL7 power will be totally controller by IC
Signed-off-by: Peter Chen <peter.chen@freescale.com>
Diffstat (limited to 'arch/arm/plat-mxc/usb_wakeup.c')
-rwxr-xr-x | arch/arm/plat-mxc/usb_wakeup.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/arm/plat-mxc/usb_wakeup.c b/arch/arm/plat-mxc/usb_wakeup.c index d55abc47d10b..9afd479aaf19 100755 --- a/arch/arm/plat-mxc/usb_wakeup.c +++ b/arch/arm/plat-mxc/usb_wakeup.c @@ -85,7 +85,7 @@ static irqreturn_t usb_wakeup_handler(int irq, void *_dev) struct wakeup_ctrl *ctrl = (struct wakeup_ctrl *)_dev; irqreturn_t ret = IRQ_NONE; if (usb2_is_in_lowpower(ctrl)) { - printk("usb wakeup is here\n"); + pr_debug("usb wakeup is here\n"); delay_process_wakeup(ctrl); ret = IRQ_HANDLED; } @@ -109,7 +109,6 @@ static void wakeup_event_handler(struct wakeup_ctrl *ctrl) wakeup_clk_gate(ctrl->pdata, true); -recheck: for (i = 0; i < 3; i++) { struct fsl_usb2_platform_data *usb_pdata = pdata->usb_pdata[i]; if (usb_pdata) { |