summaryrefslogtreecommitdiff
path: root/recipes-kernel/linux/linux-3.12.70/mtrv1/linux-3.12-wl12xx-fix-threaded-irq-requested-with-NULL-handler.patch
blob: de352af9d9720cf0f814fa817edac9ada1908262 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/drivers/net/wireless/ti/wlcore/main.c b/drivers/net/wireless/ti/wlcore/main.c
index 38995f9..8543228 100644
--- a/drivers/net/wireless/ti/wlcore/main.c
+++ b/drivers/net/wireless/ti/wlcore/main.c
@@ -5933,7 +5933,7 @@ static void wlcore_nvs_cb(const struct firmware *fw, void *context)
 	wl->if_ops = pdev_data->if_ops;
 
 	if (wl->platform_quirks & WL12XX_PLATFORM_QUIRK_EDGE_IRQ)
-		irqflags = IRQF_TRIGGER_RISING;
+		irqflags = IRQF_TRIGGER_RISING | IRQF_ONESHOT;
 	else
 		irqflags = IRQF_TRIGGER_HIGH | IRQF_ONESHOT;