]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
ENGR00251209-6 msl-mx6: usb: keep the phy lower flag as true defaultly
authorPeter Chen <peter.chen@freescale.com>
Mon, 4 Mar 2013 09:35:02 +0000 (17:35 +0800)
committerLothar Waßmann <LW@KARO-electronics.de>
Fri, 24 May 2013 06:35:55 +0000 (08:35 +0200)
Keep the phy lower flag as true defaultly, the driver should mark
it as false when the driver begins to use PHY.
This fixes one bug that when build both host and gadget as loadable
modules, the phy lower flag is false if the related module is not
loaded, then, the wakeup interrupt will not be treated as happened
if host module is loaded, but gadget is not loaded, or vice verse.

Signed-off-by: Peter Chen <peter.chen@freescale.com>
arch/arm/mach-mx6/usb_dr.c

index 372253e37268e4d8ddd0136b378e96b1b403ed1d..7c8ef2f16447d9f2633d40da497fd1cbd59c90e3 100644 (file)
@@ -65,6 +65,7 @@ static struct fsl_usb2_platform_data dr_utmi_config = {
        .transceiver       = "utmi",
        .phy_regs = USB_PHY0_BASE_ADDR,
        .dr_discharge_line = _dr_discharge_line,
+       .lowpower          = true, /* Default driver low power is true */
 };
 
 /* Platform data for wakeup operation */