diff options
author | Damien Le Moal <dlemoal@kernel.org> | 2023-09-12 02:27:36 +0300 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2023-09-14 03:08:40 +0300 |
commit | c91774818b041ed290df29fb1dc0725be9b12e83 (patch) | |
tree | 7f56454207e8df6e3727ce3cafb386930d37335d /drivers/target | |
parent | c13e7331745852d0dd7c35eabbe181cbd5b01172 (diff) | |
download | linux-c91774818b041ed290df29fb1dc0725be9b12e83.tar.xz |
scsi: pm8001: Setup IRQs on resume
The function pm8001_pci_resume() only calls pm8001_request_irq() without
calling pm8001_setup_irq(). This causes the IRQ allocation to fail, which
leads all drives being removed from the system.
Fix this issue by integrating the code for pm8001_setup_irq() directly
inside pm8001_request_irq() so that MSI-X setup is performed both during
normal initialization and resume operations.
Fixes: dbf9bfe61571 ("[SCSI] pm8001: add SAS/SATA HBA driver")
Cc: stable@vger.kernel.org
Signed-off-by: Damien Le Moal <dlemoal@kernel.org>
Link: https://lore.kernel.org/r/20230911232745.325149-2-dlemoal@kernel.org
Acked-by: Jack Wang <jinpu.wang@ionos.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/target')
0 files changed, 0 insertions, 0 deletions