diff options
author | Axel Lin <axel.lin@ingics.com> | 2012-11-30 05:19:33 (GMT) |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2012-12-02 15:12:08 (GMT) |
commit | 1a679930e1750c342d7e5fac787dc47484daec2e (patch) | |
tree | 829b667865d5a1a0999864d0ef8d2ccf8887059f /drivers/gpu/drm/nouveau/nouveau_mem.c | |
parent | 9489e9dcae718d5fde988e4a684a0f55b5f94d17 (diff) | |
download | linux-1a679930e1750c342d7e5fac787dc47484daec2e.tar.xz |
regulator: wm831x-dcdc: Ensure selected voltage falls within requested range
Use DIV_ROUND_UP to ensure selected voltage won't less than min_uV due to
integer truncation.
Signed-off-by: Axel Lin <axel.lin@ingics.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'drivers/gpu/drm/nouveau/nouveau_mem.c')
0 files changed, 0 insertions, 0 deletions