drivers: usb: fsl: Workaround for Erratum A004477
authorNikhil Badola <nikhil.badola@freescale.com>
Fri, 21 Nov 2014 11:55:21 +0000 (17:25 +0530)
committerYork Sun <yorksun@freescale.com>
Mon, 4 May 2015 16:23:50 +0000 (09:23 -0700)
commit0dc78ff857337a82d39d7e4390e317ffbc93097f
treed584241cdf4866dadf0659d1fdb073e82b00279e
parent7fc63cca611b9d2b5f170f9f37e6f99ddf5992a9
drivers: usb: fsl: Workaround for Erratum A004477

Add a delay of 1 microsecond before issuing soft reset to the
controller to let ongoing ULPI transaction complete.
This prevents corruption of ULPI Function Control Register which
eventually prevents phy clock from entering to low power mode

Signed-off-by: Nikhil Badola <nikhil.badola@freescale.com>
Reviewed-by: York Sun <yorksun@freescale.com>
arch/powerpc/cpu/mpc85xx/cmd_errata.c
arch/powerpc/include/asm/config_mpc85xx.h
drivers/usb/host/ehci-fsl.c
include/fsl_usb.h