blob: 1b7ae64eb0ab13d06a0f13e491916b7f837fe251 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
Index: compat-wireless/drivers/net/wireless/wl12xx/sdio.c
===================================================================
--- compat-wireless.orig/drivers/net/wireless/wl12xx/sdio.c 2013-02-18 11:47:02.831869486 -0600
+++ compat-wireless/drivers/net/wireless/wl12xx/sdio.c 2013-02-18 12:21:04.472513066 -0600
@@ -277,14 +277,19 @@
wl->irq = wlan_data->irq;
if (wl->ref_clock < 0)
wl->ref_clock = wlan_data->board_ref_clock;
+
+ /* MTPCIE: force irq trigger
if (wl->tcxo_clock < 0)
wl->tcxo_clock = wlan_data->board_tcxo_clock;
wl->platform_quirks = wlan_data->platform_quirks;
if (wl->platform_quirks & WL12XX_PLATFORM_QUIRK_EDGE_IRQ)
- irqflags = IRQF_TRIGGER_RISING;
+ */
+ irqflags = IRQF_TRIGGER_RISING | IRQF_TRIGGER_FALLING;
+ /*
else
irqflags = IRQF_TRIGGER_HIGH | IRQF_ONESHOT;
+ */
ret = request_threaded_irq(wl->irq, wl1271_hardirq, wl1271_irq,
irqflags,
|