Axel Lin 935c14a216 regulator: ad5398: show changing current in uA
Integer division may truncate the result.
Current code shows changing current is 0mA when selector is 1 ... 8.

For example:
selector = 1
ad5398_calc_current returns 117, debug message shows 117/1000 = 0mA
selector = 2
ad5398_calc_current returns 234, debug message shows 234/1000 = 0mA
selector = 3
ad5398_calc_current returns 351, debug message shows 351/1000 = 0mA
............
selector = 8
ad5398_calc_current returns 937, debug message shows 937/1000 = 0mA

Show the changing current in uA makes it easier for debugging.

Signed-off-by: Axel Lin <axel.lin@gmail.com>
Acked-by: Sonic Zhang <sonic.zhang@analog.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
2012-04-01 11:59:35 +01:00
..
2012-03-08 10:50:35 -08:00
2012-03-19 09:37:11 +00:00
2012-03-27 16:03:32 -07:00
2012-03-30 17:31:56 -07:00
2012-03-28 13:56:35 -07:00
2012-03-28 15:58:21 -07:00
2012-03-28 13:56:35 -07:00
2012-03-28 18:43:38 +01:00
2012-03-29 18:02:10 -07:00
2012-03-28 15:58:21 -07:00
2012-03-28 15:58:21 -07:00
2012-03-30 17:31:56 -07:00
2012-03-30 17:31:56 -07:00
2012-03-28 14:08:46 -07:00
2012-03-17 01:41:43 -07:00
2012-03-29 18:02:10 -07:00
2012-03-28 15:58:21 -07:00
2012-03-31 13:31:23 -07:00
2012-03-30 00:09:17 -07:00
2012-03-23 16:58:34 -07:00
2012-03-29 18:02:10 -07:00
2012-03-29 18:02:10 -07:00
2012-03-27 16:30:09 -07:00
2012-03-27 16:30:09 -07:00