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 <email@example.com>
Acked-by: Alan Stern <firstname.lastname@example.org>
Signed-off-by: Marc Kleine-Budde <email@example.com>
Tested-by: Marc Kleine-Budde <firstname.lastname@example.org>
Signed-off-by: Greg Kroah-Hartman <email@example.com>
[bwh: Backported to 3.2:adjust context]
Signed-off-by: Ben Hutchings <firstname.lastname@example.org>
1 file changed