Skip to content

Commit

Permalink
mfd: Fix initialisation of tps65910 interrupts
Browse files Browse the repository at this point in the history
Fix regression introduced by commit
a297473 (TPS65911: Add new irq
definitions) which caused irq_num to be incorrectly set for tps65910.

Cc: stable@kernel.org
Signed-off-by: Johan Hovold <jhovold@gmail.com>
Acked-by: Graeme Gregory <gg@slimlogic.co.uk>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
  • Loading branch information
Johan Hovold authored and Samuel Ortiz committed Sep 6, 2011
1 parent d0e84ca commit fa94876
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions drivers/mfd/tps65910-irq.c
Original file line number Diff line number Diff line change
Expand Up @@ -178,8 +178,10 @@ int tps65910_irq_init(struct tps65910 *tps65910, int irq,
switch (tps65910_chip_id(tps65910)) {
case TPS65910:
tps65910->irq_num = TPS65910_NUM_IRQ;
break;
case TPS65911:
tps65910->irq_num = TPS65911_NUM_IRQ;
break;
}

/* Register with genirq */
Expand Down

0 comments on commit fa94876

Please sign in to comment.