diff options
author | Can Guo <cang@codeaurora.org> | 2021-04-26 06:48:39 +0300 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2021-04-29 06:15:17 +0300 |
commit | 637822e63b79ee8a729f7ba2645a26cf5a524ee4 (patch) | |
tree | 12e5591cc599fd336cab25651e056f05f2ed4c7c /drivers/scsi/scsi_ioctl.c | |
parent | 23043dd87b153d02eaf676e752d32429be5e5126 (diff) | |
download | linux-637822e63b79ee8a729f7ba2645a26cf5a524ee4.tar.xz |
scsi: ufs: core: Cancel rpm_dev_flush_recheck_work during system suspend
During ufs system suspend, leaving rpm_dev_flush_recheck_work running or
pending is risky because concurrency may happen between system
suspend/resume and runtime resume routine. Fix this by cancelling
rpm_dev_flush_recheck_work synchronously during system suspend.
Link: https://lore.kernel.org/r/1619408921-30426-3-git-send-email-cang@codeaurora.org
Fixes: 51dd905bd2f6 ("scsi: ufs: Fix WriteBooster flush during runtime suspend")
Reviewed-by: Daejun Park <daejun7.park@samsung.com>
Signed-off-by: Can Guo <cang@codeaurora.org>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/scsi_ioctl.c')
0 files changed, 0 insertions, 0 deletions