]> git.karo-electronics.de Git - karo-tx-linux.git/commit
wireless: cw1200: acquire hwbus lock around cw1200_irq_handler() call.
authorSolomon Peachy <pizza@shaftnet.org>
Wed, 9 Oct 2013 16:15:11 +0000 (12:15 -0400)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 10 Oct 2013 18:05:42 +0000 (14:05 -0400)
commit4978705d26149a629b9f50ff221caed6f1ae3048
tree3fabc899e9b591ad1fbe8c5a332a50ac8eaf58c5
parent9473ca6e920a3b9ca902753ce52833657f9221cc
wireless: cw1200: acquire hwbus lock around cw1200_irq_handler() call.

This fixes "lost interrupt" problems that occurred on SPI-based systems.
cw1200_irq_handler() expects the hwbus to be locked, but on the
SPI-path, that lock wasn't taken (unlike in the SDIO-path, where the
generic SDIO-code takes care of acquiring the lock).

Cc: stable@vger.kernel.org
Signed-off-by: David Mosberger <davidm@egauge.net>
Signed-off-by: Solomon Peachy <pizza@shaftnet.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/cw1200/cw1200_spi.c