mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 03:01:39 -04:00
[SCSI] allow sleeping in ->eh_bus_reset_handler()
Signed-off-by: James Bottomley <[email protected]>
This commit is contained in:
parent
94d0e7b805
commit
68b3aa7c98
32 changed files with 133 additions and 40 deletions
|
|
@ -1865,7 +1865,6 @@ mptscsih_bus_reset(struct scsi_cmnd * SCpnt)
|
|||
hd->timeouts++;
|
||||
|
||||
/* We are now ready to execute the task management request. */
|
||||
spin_unlock_irq(host_lock);
|
||||
if (mptscsih_TMHandler(hd, MPI_SCSITASKMGMT_TASKTYPE_RESET_BUS,
|
||||
SCpnt->device->channel, 0, 0, 0, 5 /* 5 second timeout */)
|
||||
< 0){
|
||||
|
|
@ -1881,7 +1880,7 @@ mptscsih_bus_reset(struct scsi_cmnd * SCpnt)
|
|||
spin_lock_irq(host_lock);
|
||||
return FAILED;
|
||||
}
|
||||
spin_lock_irq(host_lock);
|
||||
|
||||
return SUCCESS;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue