diff options
author | Can Guo <cang@codeaurora.org> | 2020-08-19 04:02:29 +0300 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2020-08-21 04:56:25 +0300 |
commit | 50807f22c89f77f8478d2feb8e1289582034e06e (patch) | |
tree | 1d9adc00beb4938c923e3a351db59fd190e377f8 /drivers/scsi/ufs/ufs-mediatek.h | |
parent | 29707fab584540ce4e85526b0dde49b976bc1bdf (diff) | |
download | linux-50807f22c89f77f8478d2feb8e1289582034e06e.tar.xz |
scsi: ufs: Remove an unpaired ufshcd_scsi_unblock_requests() in err_handler()
Commit 5586dd8ea250 ("scsi: ufs: Fix a race condition between error handler
and runtime PM ops") moves the ufshcd_scsi_block_requests() inside
err_handler() but forgets to remove the ufshcd_scsi_unblock_requests() in
the early return path. Correct the mistake.
Link: https://lore.kernel.org/r/1597798958-24322-1-git-send-email-cang@codeaurora.org
Fixes: 5586dd8ea250 ("scsi: ufs: Fix a race condition between error handler and runtime PM ops")
Reviewed-by: Asutosh Das <asutoshd@codeaurora.org>
Reviewed-by: Hongwu Su<hongwus@codeaurora.org>
Signed-off-by: Can Guo <cang@codeaurora.org>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/ufs/ufs-mediatek.h')
0 files changed, 0 insertions, 0 deletions