aboutsummaryrefslogtreecommitdiff
path: root/drivers/mfd/ab8500-sysctrl.c
diff options
context:
space:
mode:
authornagalakshmi.nandigama@lsi.com <nagalakshmi.nandigama@lsi.com>2011-10-19 15:37:00 +0530
committerJames Bottomley <JBottomley@Parallels.com>2011-10-30 12:48:34 +0400
commitf881ceadd4d6afafb227bcf8165c1b63ba90065b (patch)
treedc41f0735580efb7f10f8ac2d5e314e29ec1e360 /drivers/mfd/ab8500-sysctrl.c
parent24f09b598dc455be84991e69ab9e6a339fd66bcf (diff)
[SCSI] mpt2sas: Fix drives not getting properly deleted if sas cable is removed while host reset is active
The fix is in the driver-firmware handshake device removal code. We need to read the controller ioc_state to see if controller is OPERATIONAL prior to sending target reset and OP_REMOVE. Previously it was checking the flag ioc->shost_recovery flag, which is always set when host reset is active, thus preventing drives from getting properly deleted. Signed-off-by: Nagalakshmi Nandigama <nagalakshmi.nandigama@lsi.com> Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Diffstat (limited to 'drivers/mfd/ab8500-sysctrl.c')
0 files changed, 0 insertions, 0 deletions