From: Benoit Cousson Date: Tue, 14 Feb 2012 21:06:56 +0000 (-0700) Subject: mfd: twl-core.c: Fix the number of interrupts managed by twl4030 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=5769089ac72569d024817270ab79fdf0b9046dde;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git mfd: twl-core.c: Fix the number of interrupts managed by twl4030 TWL4030 does handle 3 different interrupts ranges: 8 for the core, 8 for the power events and 18 for the GPIOs. Change the total number of interrupts managed by TWL4030 from 8 to 34. Signed-off-by: Benoit Cousson Signed-off-by: Grant Likely --- diff --git a/drivers/mfd/twl-core.c b/drivers/mfd/twl-core.c index 8ce3959c6919..49677339ab5f 100644 --- a/drivers/mfd/twl-core.c +++ b/drivers/mfd/twl-core.c @@ -149,7 +149,7 @@ #define TWL_MODULE_LAST TWL4030_MODULE_LAST -#define TWL4030_NR_IRQS 8 +#define TWL4030_NR_IRQS 34 /* core:8, power:8, gpio: 18 */ #define TWL6030_NR_IRQS 20 /* Base Address defns for twl4030_map[] */