aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/sctop.py
diff options
context:
space:
mode:
authorThierry Reding <[email protected]>2014-06-03 15:17:32 +0000
committerMark Brown <[email protected]>2014-06-03 15:51:19 +0000
commit2050afde19aeae33310bb62641ca52acad215cf8 (patch)
tree4e201b93e1d2a871e9b2b7e64457343d935b7b7e /tools/perf/scripts/python/sctop.py
parentLinux 3.15-rc1 (diff)
downloadkernel-2050afde19aeae33310bb62641ca52acad215cf8.tar.gz
kernel-2050afde19aeae33310bb62641ca52acad215cf8.zip
regulator: as3722: Make 0 a valid selector
As of commit 064d5cd110f9 (regulator: core: Fix the init of DT defined fixed regulators) the regulator core tries to query the current voltage of a regulator when applying constraints. This exposes a bug in the AS3722 regulator driver which fails to read the voltage of disabled regulators. The reason is that the hardware is programmed to a selector of 0, but none of the voltage tables include 0 as a valid selector. The datasheets indicate that 0 is a valid selector when the regulators are powered off. To fix this, add a range including selector 0 to the voltage tables. Signed-off-by: Thierry Reding <[email protected]> Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/sctop.py')
0 files changed, 0 insertions, 0 deletions