scsi: megaraid: disable device when probe failed after enabled device
authorXiang Chen <chenxiang66@hisilicon.com>
Sat, 7 Sep 2019 01:07:30 +0000 (09:07 +0800)
committerMartin K. Petersen <martin.petersen@oracle.com>
Tue, 24 Sep 2019 03:09:42 +0000 (23:09 -0400)
commit70054aa39a013fa52eff432f2223b8bd5c0048f8
tree5ea606a8b5043ed89d6112962ddb1eb74596e100
parent0ed8810276907c8a633dc8cecc48dabb6678cd23
scsi: megaraid: disable device when probe failed after enabled device

For pci device, need to disable device when probe failed after enabled
device.

Link: https://lore.kernel.org/r/1567818450-173315-1-git-send-email-chenxiang66@hisilicon.com
Signed-off-by: Xiang Chen <chenxiang66@hisilicon.com>
Reviewed-by: John Garry <john.garry@huawei.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/megaraid.c