projects
/
GitHub
/
LineageOS
/
android_kernel_samsung_universal7580.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fe44870
)
wl12xx_sdio: set interrupt as wake_up interrupt
author
Eliad Peller
<eliad@wizery.com>
Fri, 13 May 2011 08:57:08 +0000
(11:57 +0300)
committer
Luciano Coelho
<coelho@ti.com>
Fri, 13 May 2011 11:55:48 +0000
(14:55 +0300)
set the sdio interrupt as wake_up interrupt, so we will be able
to wake up the suspended system (Wake-On-Wireless)
Signed-off-by: Eliad Peller <eliad@wizery.com>
Signed-off-by: Luciano Coelho <coelho@ti.com>
drivers/net/wireless/wl12xx/sdio.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/net/wireless/wl12xx/sdio.c
b/drivers/net/wireless/wl12xx/sdio.c
index bcd4ad7ba90df55f7c9416e63ca56903695f27dd..1298461c45d1d0d41b1887e2a5f7d9df71cab84a 100644
(file)
--- a/
drivers/net/wireless/wl12xx/sdio.c
+++ b/
drivers/net/wireless/wl12xx/sdio.c
@@
-267,6
+267,8
@@
static int __devinit wl1271_probe(struct sdio_func *func,
goto out_free;
}
+ enable_irq_wake(wl->irq);
+
disable_irq(wl->irq);
ret = wl1271_init_ieee80211(wl);
@@
-303,6
+305,7
@@
static void __devexit wl1271_remove(struct sdio_func *func)
pm_runtime_get_noresume(&func->dev);
wl1271_unregister_hw(wl);
+ disable_irq_wake(wl->irq);
free_irq(wl->irq, wl);
wl1271_free_hw(wl);
}