mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2025-01-09 14:43:16 +00:00
mfd: Fix initialisation of tps65910 interrupts
Fix regression introduced by commit a2974732ca7614aaf0baf9d6dd3ad893d50ce1c5 (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>
This commit is contained in:
parent
d0e84caeb4
commit
fa948761e6
@ -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 */
|
||||
|
Loading…
x
Reference in New Issue
Block a user