aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-kernel/linux/linux-handheld-4.0/locomo/0017-ARM-pxa-poodle-don-t-preallocate-IRQ-space-for-locom.patch
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-kernel/linux/linux-handheld-4.0/locomo/0017-ARM-pxa-poodle-don-t-preallocate-IRQ-space-for-locom.patch')
-rw-r--r--recipes-kernel/linux/linux-handheld-4.0/locomo/0017-ARM-pxa-poodle-don-t-preallocate-IRQ-space-for-locom.patch30
1 files changed, 30 insertions, 0 deletions
diff --git a/recipes-kernel/linux/linux-handheld-4.0/locomo/0017-ARM-pxa-poodle-don-t-preallocate-IRQ-space-for-locom.patch b/recipes-kernel/linux/linux-handheld-4.0/locomo/0017-ARM-pxa-poodle-don-t-preallocate-IRQ-space-for-locom.patch
new file mode 100644
index 0000000..dbaf549
--- /dev/null
+++ b/recipes-kernel/linux/linux-handheld-4.0/locomo/0017-ARM-pxa-poodle-don-t-preallocate-IRQ-space-for-locom.patch
@@ -0,0 +1,30 @@
+From 9b81cda92cccc3f875a5a32e112742d81fd109d8 Mon Sep 17 00:00:00 2001
+From: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
+Date: Wed, 6 Nov 2013 01:21:01 +0400
+Subject: [PATCH 17/20] ARM: pxa: poodle: don't preallocate IRQ space for
+ locomo
+
+As new locomo driver supports SPARSE_IRQ, don't preallocate NR_IRQS
+space for it on poodle.
+
+Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
+---
+ arch/arm/mach-pxa/include/mach/poodle.h | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/arch/arm/mach-pxa/include/mach/poodle.h b/arch/arm/mach-pxa/include/mach/poodle.h
+index dd4afae..1fdde6b 100644
+--- a/arch/arm/mach-pxa/include/mach/poodle.h
++++ b/arch/arm/mach-pxa/include/mach/poodle.h
+@@ -93,7 +93,7 @@
+ #define POODLE_GPIO_232VCC_ON (POODLE_LOCOMO_GPIO_BASE + 12)
+ #define POODLE_GPIO_JK_B (POODLE_LOCOMO_GPIO_BASE + 13)
+
+-#define POODLE_NR_IRQS (IRQ_BOARD_START + 4) /* 4 for LoCoMo */
++#define POODLE_NR_IRQS IRQ_BOARD_START
+
+ extern struct platform_device poodle_locomo_device;
+
+--
+1.9.1
+