ehci: mx7: fix otg id detection
authorPeng Fan <van.freenix@gmail.com>
Mon, 20 Jun 2016 01:43:09 +0000 (09:43 +0800)
committerMarek Vasut <marex@denx.de>
Fri, 24 Jun 2016 22:57:10 +0000 (00:57 +0200)
commit57de41e9c944af8d2c7bfcc2358414c5dd8c39df
treeea6f64511797228060b3321430861e66e7c04f3d
parent429ff4473b8b1a98c528608a127de833ece0496a
ehci: mx7: fix otg id detection

The USBNC_PHYCFG2_ACAENB bit should be cleared to enable the
OTG ID detection, not set it. When the bit is set, the ACA
Resistance Detection is enabled, which disables the OTG ID
detection, because the internal pull up is off.

Signed-off-by: Ye Li <ye.li@nxp.com>
Signed-off-by: Peng Fan <peng.fan@nxp.com>
drivers/usb/host/ehci-mx6.c