commit | 9365121869a15da99d6091802f11a82d59024d62 | [log] [tgz] |
---|---|---|
author | Axel Lin <axel.lin@gmail.com> | Mon Mar 05 20:27:56 2012 +0800 |
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | Sun Mar 11 20:39:10 2012 +0000 |
tree | 2cb60af6d279a16cf76e560e40982eb0bb7904c4 | |
parent | 7b95765495d0b296cf35e97e68c780b208c85ad5 [diff] |
regulator: da9052: Ensure the selected voltage falls within the specified range Integer division may truncate the result, use DIV_ROUND_UP to ensure the selected voltage falls within the specified range. Signed-off-by: Axel Lin <axel.lin@gmail.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>