summaryrefslogtreecommitdiff
path: root/sound/isa/opti9xx
diff options
context:
space:
mode:
authorHanjun Guo <guohanjun@huawei.com>2012-08-11 02:58:36 (GMT)
committerJames Bottomley <JBottomley@Parallels.com>2012-09-14 16:59:29 (GMT)
commit20953a6277c91d5edf2e494ba5035d07ff4d1885 (patch)
tree2be77bed9f4a93f3c8cba3c5ded27bac8e92f9d4 /sound/isa/opti9xx
parent6ed33a4a0b86da42638b5f6a0bb9f9f9aee89f60 (diff)
downloadlinux-20953a6277c91d5edf2e494ba5035d07ff4d1885.tar.xz
[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 'sound/isa/opti9xx')
0 files changed, 0 insertions, 0 deletions