From 90893b90d372f9c721ab8cd64b66230670deded3 Mon Sep 17 00:00:00 2001 From: Peter Chen Date: Wed, 23 Apr 2014 15:56:41 +0800 Subject: [PATCH] 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-format-patch failed