summaryrefslogtreecommitdiff
path: root/drivers/parport
diff options
context:
space:
mode:
authorSolomon Peachy <pizza@shaftnet.org>2013-08-28 00:29:47 (GMT)
committerJohn W. Linville <linville@tuxdriver.com>2013-09-09 18:40:54 (GMT)
commit85ba8f529c57ac6e2fca9be0d9e17920a1afb2e8 (patch)
treebb22dd1b9f6e5b442d3c6c2bad87476baa4b9e0f /drivers/parport
parentaec8e88c947b7017e2b4bbcb68a4bfc4a1f8ad35 (diff)
downloadlinux-fsl-qoriq-85ba8f529c57ac6e2fca9be0d9e17920a1afb2e8.tar.xz
cw1200: Prevent a lock-related hang in the cw1200_spi driver
The cw1200_spi driver tries to mirror the cw1200_sdio driver's lock API, which relies on sdio_claim_host/sdio_release_host to serialize hardware operations across multiple threads. Unfortunately the implementation was flawed, as it lacked a way to wake up the lock requestor when there was contention, often resulting in a hang. This problem was uncovered while trying to fix the spi-transfers-in-interrupt-context BUG() corrected in the previous patch. Many thanks to Dave Sizeburns for his assistance in fixing this. Signed-off-by: Solomon Peachy <pizza@shaftnet.org> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/parport')
0 files changed, 0 insertions, 0 deletions