]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ENGR00251209-2 usb: otg: fix the dp/dm will be floating when phy is no 3v3
authorPeter Chen <peter.chen@freescale.com>
Fri, 1 Mar 2013 08:37:42 +0000 (16:37 +0800)
committerLothar Waßmann <LW@KARO-electronics.de>
Fri, 24 May 2013 06:35:55 +0000 (08:35 +0200)
commitf3d95dd1f713e29b86c7f7ab908396ea3eacea1f
tree8ee0c8e71d65335a3861455a2029da26cd25691a
parentcf60b69fda481ebae0e28ec4ad3ac107e2970a76
ENGR00251209-2 usb: otg: fix the dp/dm will be floating when phy is no 3v3

For the design which the phy is no power (no 5v for VBUS), the
PHY can't get dp/dm correctly, so it the port change interrpt
is enabled or the host enters low power mode, the unexpected
interrupt will occur.
This commit will make the dp/dm as zero at otg configuration.
For gadget-only, the same function is existed at probe.
For host-only, the vbus will be on before port change interrupt
is enabled.

Signed-off-by: Peter Chen <peter.chen@freescale.com>
drivers/usb/otg/fsl_otg.c