From: Peter Chen Date: Wed, 23 Apr 2014 07:56:41 +0000 (+0800) Subject: usb: chipidea: add proper delay for waiting correct PHY status X-Git-Tag: omap-for-v3.16/fixes-against-rc1~39^2~34^2~212 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=90893b90d372f9c721ab8cd64b66230670deded3;p=pandora-kernel.git usb: chipidea: add proper delay for waiting correct PHY status After the PHY has powered and initialized, it needs some delay for controller to reflect PHY's status. Some status and values for id, vbus, dp/dm are only stable after this delay. The current code tries to clear id/vbus status without enough delay, it causes the status are not cleared properly. This patch add 2ms delay after phy has initialized, and clear the unexpected status after that. Signed-off-by: Peter Chen Tested-by: Li Jun Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed