]> git.karo-electronics.de Git - karo-tx-linux.git/commit
usb: misc: usb3503: Remove 100ms sleep on reset, conform to data sheet
authorJulius Werner <jwerner@chromium.org>
Sat, 1 Jun 2013 01:34:52 +0000 (18:34 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 3 Jun 2013 18:01:09 +0000 (11:01 -0700)
commit06a962fa7f9bf068eb1238d7aa20453b9e11a9fd
tree22443084a459f47fb860a8b53f9f88ee3c2c5ec2
parentccf92c94135059c2fa7ee67bbd19af5103547510
usb: misc: usb3503: Remove 100ms sleep on reset, conform to data sheet

The usb3503 driver sleeps a flat 100ms when resetting the chip, with a
comment about waiting for the reference clock. This seems to be a
board-specific detail that should not hold up boot across all platforms.
This patch reduces the sleep to the 4ms initialization delay that the
chip itself actually requires (as per its data sheet). If certain boards
require more time to set up the reference clock, they should change this
through local patches or add a proper, configurable synchronization
mechanism.

Signed-off-by: Julius Werner <jwerner@chromium.org>
Signed-off-by: Dongjin Kim <tobetter@gmail.com>
Acked-by: Olof Johansson <olof@lixom.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/misc/usb3503.c