diff options
author | make shi <b15407@freescale.com> | 2012-07-30 15:35:11 +0800 |
---|---|---|
committer | make shi <b15407@freescale.com> | 2012-07-30 17:18:05 +0800 |
commit | ba6f00cf2230db0a264566bf3720b4f1db8d3e43 (patch) | |
tree | cfcda068b87dc5597fbddb1f7e23770cd89f33d8 /arch/arm/plat-mxc | |
parent | 635de53d87cbdac730cb552e10ea2c2c95537507 (diff) |
ENGR00218771 mx6 USB:USB disconnect issue verification on MX6QTO1.2/MX6DLTO1.1
- for Rigel1.1/Arik1.2, bit 17 of HW_USBPHY_IP will be set, it will fix the
issue that no wakeup between SUSP/PHCD. And the usb_platform_rh_suspend/
usb_platform_rh_resume do not need do complex software workaround, only
need set/clear the workaround bit.
- for Megrez , bit 17 and bit 18 of HW_USBPHY_IP will be set, it will fix the
issue that no wakeup between SUSP/PHCD and disconnect after resume. No need
do any software workaround.
Signed-off-by: make shi <b15407@freescale.com>
Diffstat (limited to 'arch/arm/plat-mxc')
-rwxr-xr-x | arch/arm/plat-mxc/usb_common.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/arch/arm/plat-mxc/usb_common.c b/arch/arm/plat-mxc/usb_common.c index 168808e77a18..97d963a54a54 100755 --- a/arch/arm/plat-mxc/usb_common.c +++ b/arch/arm/plat-mxc/usb_common.c @@ -63,8 +63,11 @@ bool usb_icbug_swfix_need(void) { if (cpu_is_mx6sl()) return false; - else - return true; + else if ((mx6q_revision() > IMX_CHIP_REVISION_1_1)) + return false; + else if ((mx6dl_revision() > IMX_CHIP_REVISION_1_0)) + return false; + return true; } EXPORT_SYMBOL(usb_icbug_swfix_need); |