diff options
author | Axel Lin <[email protected]> | 2012-12-28 17:10:20 +0800 |
---|---|---|
committer | Mark Brown <[email protected]> | 2013-01-08 11:16:11 +0000 |
commit | adf6178ad5552a7f2f742a8c85343c50f080c412 (patch) | |
tree | 7457c8597195296346b42cc90f75b00249d8dcbb /lib/mpi/mpi-bit.c | |
parent | d1c3ed669a2d452cacfb48c2d171a1f364dae2ed (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 <[email protected]>
Signed-off-by: Mark Brown <[email protected]>
Cc: [email protected]
Diffstat (limited to 'lib/mpi/mpi-bit.c')
0 files changed, 0 insertions, 0 deletions