mfd: Fix initialisation of tps65910 interrupts
Fix regression introduced by commit
a2974732ca
(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:
Родитель
d0e84caeb4
Коммит
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 */
|
||||
|
|
Загрузка…
Ссылка в новой задаче