aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/net_dropmonitor.py
diff options
context:
space:
mode:
authorAxel Lin <[email protected]>2021-05-23 15:10:45 +0800
committerLee Jones <[email protected]>2021-06-02 10:51:02 +0100
commit6f1b660731d841aa429a836c4ba04af551628050 (patch)
treed89c17ebdabcdceab47fcd690d7188646605ea9a /tools/perf/scripts/python/net_dropmonitor.py
parent07a0b7d6f1543b45068ba427a1f0ee5375a259c9 (diff)
mfd: bd71828: Fix .n_voltages settings
Current .n_voltages settings do not cover the latest 2 valid selectors, so it fails to set voltage for the hightest voltage support. The latest linear range has step_uV = 0, so it does not matter if we count the .n_voltages to maximum selector + 1 or the first selector of latest linear range + 1. To simplify calculating the n_voltages, let's just set the .n_voltages to maximum selector + 1. Fixes: 522498f8cb8c ("regulator: bd71828: Basic support for ROHM bd71828 PMIC regulators") Signed-off-by: Axel Lin <[email protected]> Reviewed-by: Matti Vaittinen <[email protected]> Signed-off-by: Lee Jones <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions