diff options
author | 2012-11-30 16:52:49 +0800 | |
---|---|---|
committer | 2012-12-03 00:15:14 +0900 | |
commit | dbc705183a41f8ae209673fbc555d9923b0ebb7f (patch) | |
tree | 93e02c1afdc94cce0e0cb71918e7ac6699e19573 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | regulator: tps51632: Fix writing to wrong register when enable_pwm_dvfs is set (diff) | |
download | linux-dev-dbc705183a41f8ae209673fbc555d9923b0ebb7f.tar.xz linux-dev-dbc705183a41f8ae209673fbc555d9923b0ebb7f.zip |
regulator: tps51632: Ensure [base|max]_voltage_uV pdata settings are valid
If pdata->base_voltage_uV is missing or the settings of pdata->base_voltage_uV
and pdata->max_voltage_uV are out of range, TPS51632_VOLT_VSEL macro
returns wrong vsel.
Thus add checking [base|max]_voltage_uV pdata settings in probe.
Signed-off-by: Axel Lin <axel.lin@ingics.com>
Acked-by: Laxman Dewangan <ldewangan@nvidia.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions