diff options
author | Axel Lin <[email protected]> | 2013-01-09 19:34:57 +0800 |
---|---|---|
committer | Mark Brown <[email protected]> | 2013-01-10 12:55:49 +0000 |
commit | 81d0a6ae7befb24c06f4aa4856af7f8d1f612171 (patch) | |
tree | 324aadeae9a1b561e83a7d930ef5f617a52270b5 /lib/mpi/mpi-bit.c | |
parent | adf6178ad5552a7f2f742a8c85343c50f080c412 (diff) |
regulator: max8998: Ensure enough delay time for max8998_set_voltage_buck_time_sel
Use DIV_ROUND_UP to prevent truncation by integer division issue.
This ensures we return enough delay time.
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