]> git.baikalelectronics.ru Git - kernel.git/commit
scsi: mpi3mr: Allow certain commands during pci-remove hook
authorKashyap Desai <kashyap.desai@broadcom.com>
Thu, 20 May 2021 15:25:36 +0000 (20:55 +0530)
committerMartin K. Petersen <martin.petersen@oracle.com>
Wed, 2 Jun 2021 04:56:17 +0000 (00:56 -0400)
commit6ee134bd2f31cae408ca5372d522cf999de0c775
treef0837e448f32f339bc74df5f8c8f2e86fdce7bc0
parente08dfe5869d459c793f3bf1599a208d982e91594
scsi: mpi3mr: Allow certain commands during pci-remove hook

Instead of driver returning DID_NO_CONNECT during driver unload allow SSU
and Sync Cache commands to be sent to the controller to flush any cached
data from the drive.

Link: https://lore.kernel.org/r/20210520152545.2710479-16-kashyap.desai@broadcom.com
Cc: sathya.prakash@broadcom.com
Reviewed-by: Hannes Reinecke <hare@suse.de>
Reviewed-by: Tomas Henzl <thenzl@redhat.com>
Reviewed-by: Himanshu Madhani <himanshu.madhani@oracle.com>
Signed-off-by: Kashyap Desai <kashyap.desai@broadcom.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/mpi3mr/mpi3mr_os.c