wl18xx: wlan_irq: support platform dependent interrupt types
authorEyal Reizer <eyalreizer@gmail.com>
Wed, 29 Apr 2015 14:50:03 +0000 (17:50 +0300)
committerKalle Valo <kvalo@codeaurora.org>
Sat, 9 May 2015 13:42:27 +0000 (16:42 +0300)
commitbd763482c82ea24aacb51e0ba92b24074143bc86
treee1fcab6dfb5cd40d281bb61bf268a4e83a81851a
parentad48013783dc40e44505cfd9ca9ade7887792a62
wl18xx: wlan_irq: support platform dependent interrupt types

* Interrupt request need to happen when the wilink chip is powered on and
  driving the wlan_irq line. This avoids spurious interrupt issues that
  are a result of different external pulls configuration on different
  platforms
* Allow working with wl18xx level-low and falling edge irqs by configuring
  wl18xx to invert the device interrupt

Signed-off-by: Eyal Reizer <eyalr@ti.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/ti/wl18xx/main.c
drivers/net/wireless/ti/wl18xx/reg.h
drivers/net/wireless/ti/wlcore/main.c