Commit b5d9da5
scsi: ufs: core: Simplify ufshcd_exception_event_handler()
The ufshcd_scsi_block_requests() and ufshcd_scsi_unblock_requests()
calls were introduced in ufshcd_exception_event_handler() to prevent
that querying the exception event information would time out. Commit
10fe588 ("scsi: ufs: increase the scsi query response timeout")
increased the timeout for querying exception information from 30 ms to
1.5 s and thereby eliminated the risk that a timeout would happen.
Hence, the calls to block and unblock SCSI requests are superfluous.
Remove these calls.
Reviewed-by: Peter Wang <peter.wang@mediatek.com>
Tested-by: Avri Altman <avri.altman@wdc.com>
Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Link: https://lore.kernel.org/r/20241022193130.2733293-5-bvanassche@acm.org
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>1 parent 9a5f6c0 commit b5d9da5
1 file changed
Lines changed: 1 addition & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6194 | 6194 | | |
6195 | 6195 | | |
6196 | 6196 | | |
6197 | | - | |
6198 | 6197 | | |
6199 | 6198 | | |
6200 | 6199 | | |
6201 | 6200 | | |
6202 | | - | |
| 6201 | + | |
6203 | 6202 | | |
6204 | 6203 | | |
6205 | 6204 | | |
| |||
6211 | 6210 | | |
6212 | 6211 | | |
6213 | 6212 | | |
6214 | | - | |
6215 | | - | |
6216 | 6213 | | |
6217 | 6214 | | |
6218 | 6215 | | |
| |||
0 commit comments