USB: chipidea: delay 2ms before read ID status at probe time
authorRichard Zhao <richard.zhao@freescale.com>
Wed, 12 Sep 2012 11:58:07 +0000 (14:58 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 12 Sep 2012 18:20:38 +0000 (11:20 -0700)
commit86ad01a907d7856edc07d8b49260c39520c0e932
tree5669d59eb44bb4b8f778bbdbb58a4b41b2e32da1
parentb4dbb258b67b12fff4c9df56983934e11813c404
USB: chipidea: delay 2ms before read ID status at probe time

The ID pin needs 1ms debounce time, even at probe time. We delay 2ms
to be on the safe side.

Tested-by: Michael Grzeschik <m.grzeschik@pengutronix.de>
Tested-by: Marc Kleine-Budde <mkl@pengutronix.de>
Signed-off-by: Richard Zhao <richard.zhao@freescale.com>
Signed-off-by: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/chipidea/core.c