diff options
author | Jesse Gilles <jgilles@multitech.com> | 2014-03-06 15:00:24 -0600 |
---|---|---|
committer | Jesse Gilles <jgilles@multitech.com> | 2014-03-06 15:00:24 -0600 |
commit | 1540c50bd0faf06edc26ea0800081dd57e11ae70 (patch) | |
tree | d229f2fa9cfd735a0cce1491024c2acf831fcf7a | |
parent | e623746dccb9a396415037a40d94c0ad0ff68fc8 (diff) |
ti-compat-wireless-r5.sp7.01: add irq edge patch for mt100eocg-pcie-dk
2 files changed, 26 insertions, 1 deletions
diff --git a/multitech/recipes/compat-wireless/ti-compat-wireless-wl12xx-r5.sp7.01/mt100eocg-pcie-dk/wl12xx-irq-rising-falling-r5.sp7.01.patch b/multitech/recipes/compat-wireless/ti-compat-wireless-wl12xx-r5.sp7.01/mt100eocg-pcie-dk/wl12xx-irq-rising-falling-r5.sp7.01.patch new file mode 100644 index 0000000..c9c3a56 --- /dev/null +++ b/multitech/recipes/compat-wireless/ti-compat-wireless-wl12xx-r5.sp7.01/mt100eocg-pcie-dk/wl12xx-irq-rising-falling-r5.sp7.01.patch @@ -0,0 +1,20 @@ +Index: wl12xx-ol_R5.SP7.01/drivers/net/wireless/wl12xx/main.c +=================================================================== +--- wl12xx-ol_R5.SP7.01.orig/drivers/net/wireless/wl12xx/main.c 2013-12-14 23:41:55.000000000 -0600 ++++ wl12xx-ol_R5.SP7.01/drivers/net/wireless/wl12xx/main.c 2014-03-06 14:45:24.887273144 -0600 +@@ -7043,10 +7043,14 @@ + + platform_set_drvdata(pdev, wl); + ++ /* MTPCIE: force irq trigger + 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, wl12xx_hardirq, wl12xx_irq, + irqflags, diff --git a/multitech/recipes/compat-wireless/ti-compat-wireless-wl12xx_r5.sp7.01.bb b/multitech/recipes/compat-wireless/ti-compat-wireless-wl12xx_r5.sp7.01.bb index 1371b15..e44916e 100644 --- a/multitech/recipes/compat-wireless/ti-compat-wireless-wl12xx_r5.sp7.01.bb +++ b/multitech/recipes/compat-wireless/ti-compat-wireless-wl12xx_r5.sp7.01.bb @@ -11,7 +11,7 @@ RDEPENDS_${PN} = "wireless-tools" inherit module -LOCAL_PR = ".2" +LOCAL_PR = ".3" MACHINE_KERNEL_PR_append = "${LOCAL_PR}" TAG="ol_R5.SP7.01" @@ -40,6 +40,11 @@ SRC_URI[wl12xx.sha256sum] = "98137f9ced94de839abef86eb1cbee068f362bd28c5190449ca # mts patches SRC_URI_append = "file://wl12xx-set-power-r5.sp7.01.patch;patchdir=../wl12xx-${TAG}" +SRC_URI_append_mt100eocg-pcie-dk = " \ + file://wl12xx-irq-rising-falling-r5.sp7.01.patch;patchdir=../wl12xx-${TAG} \ + " + + EXTRA_OEMAKE = "KLIB_BUILD=${STAGING_KERNEL_DIR} KLIB=${D}" do_configure() { |