diff options
author | Matthieu CASTET <matthieu.castet@parrot.com> | 2014-02-19 05:46:31 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-02-21 20:34:45 (GMT) |
commit | 5bf5dbeda2454296f1984adfbfc8e6f5965ac389 (patch) | |
tree | c7464044ff490053cba826f45a804de2f9a8fb64 /drivers/thermal/Makefile | |
parent | 0fd7a820675e9eaa79678c65d6db7dc8f774c90d (diff) | |
download | linux-5bf5dbeda2454296f1984adfbfc8e6f5965ac389.tar.xz |
usb: chipidea: need to mask when writting endptflush and endptprime
ENDPTFLUSH and ENDPTPRIME registers are set by software and clear
by hardware. There is a bit for each endpoint. When we are setting
a bit for an endpoint we should make sure we do not touch other
endpoint bit. There is a race condition if the hardware clear the
bit between the read and the write in hw_write.
Cc: stable <stable@vger.kernel.org> # 3.11+
Signed-off-by: Peter Chen <peter.chen@freescale.com>
Signed-off-by: Matthieu CASTET <matthieu.castet@parrot.com>
Tested-by: Michael Grzeschik <mgrzeschik@pengutronix.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/thermal/Makefile')
0 files changed, 0 insertions, 0 deletions