usb: ehci: add freescale imx28 special write register method
commit feffe09f510c475df082546815f9e4a573f6a233 upstream.
According to Freescale imx28 Errata, "ENGR119653 USB: ARM to USB
register error issue", All USB register write operations must
use the ARM SWP instruction. So, we implement a special ehci_write
Discussion for it at below:
Without this patcheset, imx28 works unstable at high AHB bus loading.
If the bus loading is not high, the imx28 usb can work well at the most
of time. There is a IC errata for this problem, usually, we consider
IC errata is a problem not a new feature, and this workaround is needed
for that, so we need to add them to stable tree 3.11+.
Signed-off-by: Peter Chen <firstname.lastname@example.org>
Acked-by: Alan Stern <email@example.com>
Signed-off-by: Marc Kleine-Budde <firstname.lastname@example.org>
Tested-by: Marc Kleine-Budde <email@example.com>
Signed-off-by: Greg Kroah-Hartman <firstname.lastname@example.org>
[bwh: Backported to 3.2:adjust context]
Signed-off-by: Ben Hutchings <email@example.com>
1 file changed