]> git.karo-electronics.de Git - karo-tx-linux.git/commit
usb: chipidea: Fix Internal error: : 808 [#1] ARM related to STS flag
authorChris Ruehl <chris.ruehl@gtsys.com.hk>
Fri, 10 Jan 2014 05:51:29 +0000 (13:51 +0800)
committerPeter Chen <peter.chen@freescale.com>
Thu, 16 Jan 2014 08:55:06 +0000 (16:55 +0800)
commitef6d881d31464b60bae2df538ec6074eff6181ae
tree3a501d74a5ac74bfb28de827ce76ea27af119bf7
parent12956372deeff385231f0a636c9d7cd771286f5b
usb: chipidea: Fix Internal error: : 808 [#1] ARM related to STS flag

* init the sts flag to 0 (missed)
* fix write the real bit not sts value
* Set PORTCS_STS and DEVLC_STS only if sts = 1

[Peter Chen: This one and the next patch fix the problem occurred imx27
and imx31, and imx27 and imx31 usb support are enabled until 3.14, so
these two patches isn't needed for -stable]

Signed-off-by: Chris Ruehl <chris.ruehl@gtsys.com.hk>
Signed-off-by: Peter Chen <peter.chen@freescale.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
(cherry picked from commit 4cf40dc3d21cd9a482d969d1468fd265ec9921dd)
drivers/usb/chipidea/core.c