original_kernel/drivers/net/wireless/cw1200
Solomon Peachy 85ba8f529c 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>
2013-09-09 14:40:54 -04:00
..
Kconfig
Makefile
bh.c
bh.h
cw1200.h
cw1200_sdio.c
cw1200_spi.c
debug.c
debug.h
fwio.c
fwio.h
hwbus.h
hwio.c
hwio.h
main.c
pm.c
pm.h
queue.c
queue.h
scan.c
scan.h
sta.c
sta.h
txrx.c
txrx.h
wsm.c
wsm.h