mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-02 09:16:41 +09:00
mfd: Fix initialisation of tps65910 interrupts
commitfa948761e6upstream. Fix regression introduced by commita2974732ca(TPS65911: Add new irq definitions) which caused irq_num to be incorrectly set for tps65910. 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> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
7edcab4419
commit
fbb3afe05e
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user