diff options
author | Peter Geis <pgwipeout@gmail.com> | 2021-05-12 00:13:33 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2021-05-12 18:22:21 +0300 |
commit | f8c8871f5eff3981eeb13421aca2c1cfda4a5204 (patch) | |
tree | ecf64c3237c1564e298c62ac4383e255c23b55f9 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | f80505fdff771c89c9350895e99140ffc824e564 (diff) | |
download | linux-f8c8871f5eff3981eeb13421aca2c1cfda4a5204.tar.xz |
regulator: fan53555: fix TCS4525 voltage calulation
The TCS4525 has 128 voltage steps. With the calculation set to 127 the
most significant bit is disregarded which leads to a miscalculation of
the voltage by about 200mv.
Fix the calculation to end deadlock on the rk3566-quartz64 which uses
this as the cpu regulator.
Fixes: 914df8faa7d6 ("regulator: fan53555: Add TCS4525 DCDC support")
Signed-off-by: Peter Geis <pgwipeout@gmail.com>
Link: https://lore.kernel.org/r/20210511211335.2935163-2-pgwipeout@gmail.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions