diff options
author | Peter Wang <peter.wang@mediatek.com> | 2023-08-31 15:08:24 +0200 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2023-10-13 19:16:09 +0200 |
commit | 1d969731b87f122108c50a64acfdbaa63486296e (patch) | |
tree | 24a2e18e59edcc7d59ef5aa2244f6b4412f62fc3 /include | |
parent | scsi: ufs: qcom: Remove unnecessary check (diff) | |
download | linux-1d969731b87f122108c50a64acfdbaa63486296e.tar.xz linux-1d969731b87f122108c50a64acfdbaa63486296e.zip |
scsi: ufs: core: Only suspend clock scaling if scaling down
If clock scale up and suspend clock scaling, ufs will keep high
performance/power mode but no read/write requests on going. It is logic
wrong and have power concern.
Signed-off-by: Peter Wang <peter.wang@mediatek.com>
Link: https://lore.kernel.org/r/20230831130826.5592-2-peter.wang@mediatek.com
Reviewed-by: Bart Van Assche <bvanassche@acm.org>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions