diff options
| author | Can Guo <[email protected]> | 2021-04-26 03:48:39 +0000 |
|---|---|---|
| committer | Martin K. Petersen <[email protected]> | 2021-04-29 03:15:17 +0000 |
| commit | 637822e63b79ee8a729f7ba2645a26cf5a524ee4 (patch) | |
| tree | 12e5591cc599fd336cab25651e056f05f2ed4c7c /drivers/gpu/drm/amd/amdgpu/amdgpu_vram_mgr.c | |
| parent | scsi: ufs: core: Do not put UFS power into LPM if link is broken (diff) | |
| download | kernel-637822e63b79ee8a729f7ba2645a26cf5a524ee4.tar.gz kernel-637822e63b79ee8a729f7ba2645a26cf5a524ee4.zip | |
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/[email protected]
Fixes: 51dd905bd2f6 ("scsi: ufs: Fix WriteBooster flush during runtime suspend")
Reviewed-by: Daejun Park <[email protected]>
Signed-off-by: Can Guo <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_vram_mgr.c')
0 files changed, 0 insertions, 0 deletions
