aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorStanley Chu <[email protected]>2019-03-28 17:16:25 +0800
committerMartin K. Petersen <[email protected]>2019-04-03 23:11:35 -0400
commit0487fff76632ec023d394a05b82e87a971db8c03 (patch)
tree8043ef1a97cba5125bda1f85f4efcd5640eec486 /tools/perf/scripts/python/stackcollapse.py
parent3b141e8cfd54ba3e5c610717295b2a02aab26a05 (diff)
scsi: ufs: Fix regulator load and icc-level configuration
Currently if a regulator has "<name>-fixed-regulator" property in device tree, it will skip current limit initialization. This lead to a zero "max_uA" value in struct ufs_vreg. However, "regulator_set_load" operation shall be required on regulators which have valid current limits, otherwise a zero "max_uA" set by "regulator_set_load" may cause unexpected behavior when this regulator is enabled or set as high power mode. Similarly, in device's icc_level configuration flow, the target icc_level shall be updated if regulator also has valid current limit, otherwise a wrong icc_level will be calculated by zero "max_uA" and thus causes unexpected results after it is written to device. Signed-off-by: Stanley Chu <[email protected]> Reviewed-by: Avri Altman <[email protected]> Acked-by: Alim Akhtar <[email protected]> Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions