diff options
| author | Po-Wen Kao <powen.kao@mediatek.com> | 2022-06-16 13:37:19 +0800 |
|---|---|---|
| committer | Martin K. Petersen <martin.petersen@oracle.com> | 2022-06-16 22:08:43 -0400 |
| commit | 005ffdf09cd3a3b96c071f5439e5ad389158e5a6 (patch) | |
| tree | 64a86ffdcdda5d9a9d381d7aa18239473e636713 /tools/perf/scripts/python/flamegraph.py | |
| parent | scsi: ufs: ufs-mediatek: Fix the timing of configuring device regulators (diff) | |
| download | linux-005ffdf09cd3a3b96c071f5439e5ad389158e5a6.tar.gz linux-005ffdf09cd3a3b96c071f5439e5ad389158e5a6.zip | |
scsi: ufs: ufs-mediatek: Prevent device regulators setting LPM incorrectly
Device regulatrs are allowed to enter low-power mode if neither device is
not in active mode, nor VCC does not keep on.
Fix this by adding conditions before LPM decision.
Link: https://lore.kernel.org/r/20220616053725.5681-6-stanley.chu@mediatek.com
Reviewed-by: Stanley Chu <stanley.chu@mediatek.com>
Signed-off-by: Po-Wen Kao <powen.kao@mediatek.com>
Signed-off-by: Stanley Chu <stanley.chu@mediatek.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions
