From: Hanjun Guo Date: Sat, 11 Aug 2012 02:58:36 +0000 (+0800) Subject: [SCSI] Fusion MPT: disable pci device when mpt map resoures failed X-Git-Tag: omap-for-v3.7-rc1/fixes-cpufreq-signed~38^2^2~115 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=20953a6277c91d5edf2e494ba5035d07ff4d1885;p=pandora-kernel.git [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 Signed-off-by: Jiang Liu Acked-by: "Nandigama, Nagalakshmi" Signed-off-by: James Bottomley --- Reading git-diff-tree failed