summaryrefslogtreecommitdiff
path: root/drivers/block/nvme.c
diff options
context:
space:
mode:
authorHanjun Guo <guohanjun@huawei.com>2012-08-11 10:58:36 +0800
committerJames Bottomley <JBottomley@Parallels.com>2012-09-14 17:59:29 +0100
commit20953a6277c91d5edf2e494ba5035d07ff4d1885 (patch)
tree2be77bed9f4a93f3c8cba3c5ded27bac8e92f9d4 /drivers/block/nvme.c
parent6ed33a4a0b86da42638b5f6a0bb9f9f9aee89f60 (diff)
[SCSI] Fusion MPT: disable pci device when mpt map resoures failed
when probe a pci device, first we enable it, and disable it when some error happened in the following process, because the power state of the device is set to D0, and if MSI is disabled, we will allocate irq and register gsi for this device in the enable process. In function mpt_mapresources(MPT_ADAPTER *ioc), it forgot disable the pci device when error happened, the irq and gsi will never be released. this patch will fix it. Signed-off-by: Hanjun Guo <guohanjun@huawei.com> Signed-off-by: Jiang Liu <jiang.liu@huawei.com> Acked-by: "Nandigama, Nagalakshmi" <Nagalakshmi.Nandigama@lsi.com> Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Diffstat (limited to 'drivers/block/nvme.c')
0 files changed, 0 insertions, 0 deletions