Skip to content

Commit

Permalink
mfd: twl-core.c: Fix the number of interrupts managed by twl4030
Browse files Browse the repository at this point in the history
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 <b-cousson@ti.com>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
  • Loading branch information
Benoit Cousson authored and Grant Likely committed Feb 16, 2012
1 parent a850a75 commit 5769089
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/mfd/twl-core.c
Original file line number Diff line number Diff line change
Expand Up @@ -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[] */
Expand Down

0 comments on commit 5769089

Please sign in to comment.