diff options
author | Peter Chen <peter.chen@freescale.com> | 2013-03-04 17:35:02 +0800 |
---|---|---|
committer | Peter Chen <peter.chen@freescale.com> | 2013-03-06 09:21:47 +0800 |
commit | 05156a8bf20ae7a6deccd46eea638b9efdd54461 (patch) | |
tree | 77f06bafeab89faf9bd3a91b0f4148e4575461a2 /arch | |
parent | 5c554bfc4bc3b0908ce8165c18234eccb70ad722 (diff) |
ENGR00251209-6 msl-mx6: usb: keep the phy lower flag as true defaultly
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>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/mach-mx6/usb_dr.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/mach-mx6/usb_dr.c b/arch/arm/mach-mx6/usb_dr.c index 372253e37268..7c8ef2f16447 100644 --- a/arch/arm/mach-mx6/usb_dr.c +++ b/arch/arm/mach-mx6/usb_dr.c @@ -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 */ |