diff options
author | nagalakshmi.nandigama@lsi.com <nagalakshmi.nandigama@lsi.com> | 2011-10-19 15:37:00 +0530 |
---|---|---|
committer | James Bottomley <JBottomley@Parallels.com> | 2011-10-30 12:48:34 +0400 |
commit | f881ceadd4d6afafb227bcf8165c1b63ba90065b (patch) | |
tree | dc41f0735580efb7f10f8ac2d5e314e29ec1e360 /drivers/mfd/ab8500-sysctrl.c | |
parent | 24f09b598dc455be84991e69ab9e6a339fd66bcf (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