wl1251: add support for dedicated IRQ line
authorGrazvydas Ignotas <notasas@gmail.com>
Fri, 16 Apr 2010 10:22:12 +0000 (13:22 +0300)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 16 Apr 2010 19:47:14 +0000 (15:47 -0400)
commita02a2956809d88b42b9a1f8003d60a343353b5ea
tree58f3375f5b8c54ca68ca32ae30b705e11c2457af
parent7f1f5a0060e377ff6a15903487b39223e12b8568
wl1251: add support for dedicated IRQ line

wl1251 has WLAN_IRQ pin for generating interrupts to host processor,
which is mandatory in SPI mode and optional in SDIO mode (which can
use SDIO interrupts instead). However TI recommends using deditated
IRQ line for SDIO too.

Add support for using dedicated interrupt line with SDIO, but also leave
ability to switch to SDIO interrupts in case it's needed.

Signed-off-by: Grazvydas Ignotas <notasas@gmail.com>
Reviewed-by: Bob Copeland <me@bobcopeland.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/wl12xx/wl1251_sdio.c
include/linux/spi/wl12xx.h