Commit 6948a96
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>1 parent 21acf46 commit 6948a96
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8696 | 8696 | | |
8697 | 8697 | | |
8698 | 8698 | | |
| 8699 | + | |
| 8700 | + | |
8699 | 8701 | | |
8700 | 8702 | | |
8701 | 8703 | | |
| |||
8708 | 8710 | | |
8709 | 8711 | | |
8710 | 8712 | | |
8711 | | - | |
8712 | | - | |
8713 | 8713 | | |
8714 | 8714 | | |
8715 | 8715 | | |
| |||
0 commit comments