summaryrefslogtreecommitdiffstats
path: root/drivers/hsi
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@ingics.com>2012-12-28 17:10:20 +0800
committerMark Brown <broonie@opensource.wolfsonmicro.com>2013-01-08 11:16:11 +0000
commitadf6178ad5552a7f2f742a8c85343c50f080c412 (patch)
tree7457c8597195296346b42cc90f75b00249d8dcbb /drivers/hsi
parentd1c3ed669a2d452cacfb48c2d171a1f364dae2ed (diff)
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 'drivers/hsi')
0 files changed, 0 insertions, 0 deletions