diff options
author | Kiwoong Kim <kwmad.kim@samsung.com> | 2020-12-19 07:40:39 +0100 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2021-01-06 04:26:15 +0100 |
commit | 6948a96a0d69b7e8203758f44849ce4ab06ff788 (patch) | |
tree | 1eaee0a0e65b33a6f59fe33be13a873ff5279910 /drivers/thermal/gov_fair_share.c | |
parent | scsi: ufs: Relax the condition of UFSHCI_QUIRK_SKIP_MANUAL_WB_FLUSH_CTRL (diff) | |
download | linux-6948a96a0d69b7e8203758f44849ce4ab06ff788.tar.xz linux-6948a96a0d69b7e8203758f44849ce4ab06ff788.zip |
scsi: ufs: Relocate flush of exceptional event
The current flush location does not guarantee disabling BKOPS for the case
of requesting device power off.
1) The exceptional event handler is queued
2) ufs suspend starts with a request of device power off
3) BKOPS is disabled in ufs suspend
4) The queued work for the handler is done and BKOPS is re-enabled
Relocate the flush statement to ensure BKOPS remain disabled.
Link: https://lore.kernel.org/r/1608360039-16390-1-git-send-email-kwmad.kim@samsung.com
Reviewed-by: Can Guo <cang@codeaurora.org>
Reviewed-by: Stanley Chu <stanley.chu@mediatek.com>
Signed-off-by: Kiwoong Kim <kwmad.kim@samsung.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/thermal/gov_fair_share.c')
0 files changed, 0 insertions, 0 deletions