scsi: megaraid_sas: Don't call disable_irq from process IRQ poll
authorTomas Henzl <thenzl@redhat.com>
Thu, 27 Aug 2020 16:53:32 +0000 (18:53 +0200)
committerMartin K. Petersen <martin.petersen@oracle.com>
Thu, 3 Sep 2020 01:59:44 +0000 (21:59 -0400)
commitd2af39141eea34ef651961e885f49d96781a1016
tree73fc79354cdd100ce16193138cf9b3caa1feb222
parented43ffea78dcc97db3f561da834f1a49c8961e33
scsi: megaraid_sas: Don't call disable_irq from process IRQ poll

disable_irq() might sleep. Replace it with disable_irq_nosync() which is
sufficient as irq_poll_scheduled protects against concurrently running
complete_cmd_fusion() from megasas_irqpoll() and megasas_isr_fusion().

Link: https://lore.kernel.org/r/20200827165332.8432-1-thenzl@redhat.com
Fixes: a6ffd5bf681 scsi: megaraid_sas: Call disable_irq from process IRQ poll
Signed-off-by: Tomas Henzl <thenzl@redhat.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/megaraid/megaraid_sas_fusion.c