Skip to content

Commit f842839

Browse files
committed
Merge tag 'mfd-fixes-4.15-1' of git://git.kernel.org/pub/scm/linux/kernel/git/lee/mfd
Pull MFD fix from Lee Jones: "Late bugfix to plug a leak in rtsx_pcr" * tag 'mfd-fixes-4.15-1' of git://git.kernel.org/pub/scm/linux/kernel/git/lee/mfd: mfd: rtsx: Release IRQ during shutdown
2 parents abb7099 + 107b7d9 commit f842839

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

drivers/mfd/rtsx_pcr.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1543,6 +1543,9 @@ static void rtsx_pci_shutdown(struct pci_dev *pcidev)
15431543
rtsx_pci_power_off(pcr, HOST_ENTER_S1);
15441544

15451545
pci_disable_device(pcidev);
1546+
free_irq(pcr->irq, (void *)pcr);
1547+
if (pcr->msi_en)
1548+
pci_disable_msi(pcr->pci);
15461549
}
15471550

15481551
#else /* CONFIG_PM */

0 commit comments

Comments
 (0)