diff options
Diffstat (limited to 'recipes-kernel/linux/linux-am335x-3.2.0-psp04.06.00.08/0001-am335xevm-using-edge-triggered-interrupts-for-WLAN.patch')
-rw-r--r-- | recipes-kernel/linux/linux-am335x-3.2.0-psp04.06.00.08/0001-am335xevm-using-edge-triggered-interrupts-for-WLAN.patch | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/recipes-kernel/linux/linux-am335x-3.2.0-psp04.06.00.08/0001-am335xevm-using-edge-triggered-interrupts-for-WLAN.patch b/recipes-kernel/linux/linux-am335x-3.2.0-psp04.06.00.08/0001-am335xevm-using-edge-triggered-interrupts-for-WLAN.patch new file mode 100644 index 00000000..98b3a311 --- /dev/null +++ b/recipes-kernel/linux/linux-am335x-3.2.0-psp04.06.00.08/0001-am335xevm-using-edge-triggered-interrupts-for-WLAN.patch | |||
@@ -0,0 +1,35 @@ | |||
1 | From be52bac69dfe6a56276b16ccd234970c4f7b1255 Mon Sep 17 00:00:00 2001 | ||
2 | From: Vita Preskovsky <vitap@ti.com> | ||
3 | Date: Wed, 18 Jul 2012 16:20:36 +0300 | ||
4 | Subject: [PATCH] am335xevm: using edge triggered interrupts for WLAN | ||
5 | |||
6 | *using edge triggered interrupts instead of default level triggered in | ||
7 | all platforms supporting WLAN. This reduces CPU cycles and possibility | ||
8 | for missed interrupts. | ||
9 | |||
10 | |||
11 | Signed-off-by: Vita Preskovsky <vitap@ti.com> | ||
12 | --- | ||
13 | arch/arm/mach-omap2/board-am335xevm.c | 3 +-- | ||
14 | 1 files changed, 1 insertions(+), 2 deletions(-) | ||
15 | |||
16 | diff --git a/arch/arm/mach-omap2/board-am335xevm.c b/arch/arm/mach-omap2/board-am335xevm.c | ||
17 | index 6ae4e68..ac005c8 100644 | ||
18 | --- a/arch/arm/mach-omap2/board-am335xevm.c | ||
19 | +++ b/arch/arm/mach-omap2/board-am335xevm.c | ||
20 | @@ -1679,12 +1679,11 @@ static void wl12xx_init(int evm_id, int profile) | ||
21 | am335xevm_wlan_data.bt_enable_gpio = GPIO_TO_PIN(3, 21); | ||
22 | am335xevm_wlan_data.irq = | ||
23 | OMAP_GPIO_IRQ(AM335XEVM_SK_WLAN_IRQ_GPIO); | ||
24 | - am335xevm_wlan_data.platform_quirks = | ||
25 | - WL12XX_PLATFORM_QUIRK_EDGE_IRQ; | ||
26 | setup_pin_mux(wl12xx_pin_mux_sk); | ||
27 | } else { | ||
28 | setup_pin_mux(wl12xx_pin_mux); | ||
29 | } | ||
30 | + am335xevm_wlan_data.platform_quirks = WL12XX_PLATFORM_QUIRK_EDGE_IRQ; | ||
31 | wl12xx_bluetooth_enable(); | ||
32 | |||
33 | if (wl12xx_set_platform_data(&am335xevm_wlan_data)) | ||
34 | -- | ||
35 | 1.7.0.4 | ||