alim15x3: move irq-restore before pci_dev_put()
commit820ec411e67c8dab645fb7e180875d619b6ab7e7
authorSebastian Andrzej Siewior <bigeasy@linutronix.de>
Fri, 4 May 2018 14:24:43 +0000 (4 16:24 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 5 Jun 2018 20:26:46 +0000 (5 16:26 -0400)
treed71094d86f2f4806c1a75c815f27a4e5c224c325
parent5037be168f0e4ee910602935b1180291082d3aac
alim15x3: move irq-restore before pci_dev_put()

init_chipset_ali15x3() initializes the chipset during init with disabled
interrupts. There is no need to keep the interrupts disabled during
pci_dev_put().
Move the irq-restore before pci_dev_put() is invoked.

Side note: The same init is performed in
drivers/ata/pata_ali.c::ali_init_chipset() without disabled interrupts.
It looks that the same hardware is supported in the ATA land. Would it
make sense to remove this driver since it is supported in the other
subsystem?

Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Acked-by: David S. Miller <davem@davemloft.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/ide/alim15x3.c