summaryrefslogtreecommitdiffstats
path: root/sound/firewire/amdtp.h
diff options
context:
space:
mode:
authorMatthieu CASTET <matthieu.castet@parrot.com>2014-02-19 13:46:31 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-02-21 12:34:45 -0800
commit5bf5dbeda2454296f1984adfbfc8e6f5965ac389 (patch)
treec7464044ff490053cba826f45a804de2f9a8fb64 /sound/firewire/amdtp.h
parent0fd7a820675e9eaa79678c65d6db7dc8f774c90d (diff)
downloadtalos-obmc-linux-5bf5dbeda2454296f1984adfbfc8e6f5965ac389.tar.gz
talos-obmc-linux-5bf5dbeda2454296f1984adfbfc8e6f5965ac389.zip
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 'sound/firewire/amdtp.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud