USB: fix occasional ULPI timeouts with ehci-mxc
authorValentin Longchamp <valentin.longchamp@epfl.ch>
Wed, 20 Jan 2010 18:43:23 +0000 (19:43 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 2 Mar 2010 22:53:05 +0000 (14:53 -0800)
commit2f0e40aba1cafe3a834bfcbac8f1e704d496dab9
treea59d03a1311fb20bef9950962f5e8f6c61ef97fe
parentcabe6cc2be287d0020d70944e8d0d0304e484a6c
USB: fix occasional ULPI timeouts with ehci-mxc

On various mxc boards, the intial ULPI reads resulted in a timeout
which prevented the transceiver to be identified and thus the ehci
device to be probed.

Initializing the hardware lines connected to the transceiver (through
pdata->init call) before actually enabling clocks and configuring
registers in the devices fixes this problem.

Signed-off-by: Valentin Longchamp <valentin.longchamp@epfl.ch>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/host/ehci-mxc.c