[SCSI] isci: improvements in driver unloading routine
authorAndrzej Jakowski <andrzej.jakowski@intel.com>
Fri, 10 Feb 2012 09:18:54 +0000 (01:18 -0800)
committerJames Bottomley <JBottomley@Parallels.com>
Wed, 29 Feb 2012 22:24:41 +0000 (16:24 -0600)
commit13de2c541993394ec4db4949302312a0ce0af7b1
tree5acbb429ab2f09f4147e22fa2a1c578e364d58dc
parente462116afb1e436d4045167e7fe979405ae33d2b
[SCSI] isci: improvements in driver unloading routine

This patch fixes scenario where driver removal should be possible
only when driver is in READY state. Also it removes redundant
invocation of routine disabling SCU interrupts - this method is
called somewhere else in driver deinitialization path.

Signed-off-by: Andrzej Jakowski <andrzej.jakowski@intel.com>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
drivers/scsi/isci/init.c