]> git.baikalelectronics.ru Git - kernel.git/commit
wl12xx_sdio: enable wowlan only if enable_irq_wake() succeeded
authorEliad Peller <eliad@wizery.com>
Mon, 6 Jun 2011 09:21:55 +0000 (12:21 +0300)
committerLuciano Coelho <coelho@ti.com>
Mon, 27 Jun 2011 10:35:53 +0000 (13:35 +0300)
commitd28658c405483063d92079f7f2f5fdd0e02e3fea
treee02ff4f1e09d70a78cecbb1136408c0a3fde5272
parentff4b107ad1c8ccde8ec5809081202b338349fcf0
wl12xx_sdio: enable wowlan only if enable_irq_wake() succeeded

Some platforms don't support the wake_irq, so disable wowlan
in this case, and avoid the "Unbalanced IRQ wake disable"
warning on disable_irq_wake().

Signed-off-by: Eliad Peller <eliad@wizery.com>
Signed-off-by: Luciano Coelho <coelho@ti.com>
drivers/net/wireless/wl12xx/sdio.c
drivers/net/wireless/wl12xx/wl12xx.h