diff options
author | Axel Lin <axel.lin@ingics.com> | 2012-12-28 13:10:20 +0400 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2013-01-08 15:16:11 +0400 |
commit | adf6178ad5552a7f2f742a8c85343c50f080c412 (patch) | |
tree | 7457c8597195296346b42cc90f75b00249d8dcbb /fs | |
parent | d1c3ed669a2d452cacfb48c2d171a1f364dae2ed (diff) | |
download | linux-adf6178ad5552a7f2f742a8c85343c50f080c412.tar.xz |
regulator: max8998: Use uV in voltage_map_desc
Integer division may truncate.
This happens when pdata->buckx_voltagex setting is not align with 1000 uV.
Thus use uV in voltage_map_desc, this ensures the selected voltage won't less
than pdata buckx_voltagex settings.
Signed-off-by: Axel Lin <axel.lin@ingics.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Cc: stable@vger.kernel.org
Diffstat (limited to 'fs')
0 files changed, 0 insertions, 0 deletions