summaryrefslogtreecommitdiffstats
path: root/arch/arm/mm
diff options
context:
space:
mode:
authorLaxman Dewangan <ldewangan@nvidia.com>2012-07-09 20:27:13 +0530
committerMark Brown <broonie@opensource.wolfsonmicro.com>2012-07-10 17:16:05 +0100
commit7be531883a81d2dc23a79c1a34b4fdb0918f2ca8 (patch)
tree442201971a9c4a3fc937d31fad2aedcd4a841418 /arch/arm/mm
parentb669e0adb9f667acff16162ea0ff4fc404495b3c (diff)
downloadop-kernel-dev-7be531883a81d2dc23a79c1a34b4fdb0918f2ca8.zip
op-kernel-dev-7be531883a81d2dc23a79c1a34b4fdb0918f2ca8.tar.gz
regulator: tps65910: correct init value of n_voltages
Recent change in the core driver to get the maximum voltage is based on the (n_voltages -1) steps of voltage. For the tps65910, the (n_voltages -1)th step voltage is calculated based on the callback function list_voltage. This function direct maps the datasheet and adjust the first few steps for initial voltage as per datasheet, and hence initialize the n_voltages based on datasheet. Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'arch/arm/mm')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud