85ba8f529c
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> |
||
---|---|---|
.. | ||
bh.c | ||
bh.h | ||
cw1200_sdio.c | ||
cw1200_spi.c | ||
cw1200.h | ||
debug.c | ||
debug.h | ||
fwio.c | ||
fwio.h | ||
hwbus.h | ||
hwio.c | ||
hwio.h | ||
Kconfig | ||
main.c | ||
Makefile | ||
pm.c | ||
pm.h | ||
queue.c | ||
queue.h | ||
scan.c | ||
scan.h | ||
sta.c | ||
sta.h | ||
txrx.c | ||
txrx.h | ||
wsm.c | ||
wsm.h |