]> git.karo-electronics.de Git - karo-tx-linux.git/commit
regulator: Fix set and get current limit for wm831x_buckv
authorAxel Lin <axel.lin@gmail.com>
Thu, 15 Mar 2012 07:53:05 +0000 (15:53 +0800)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Mon, 26 Mar 2012 17:31:34 +0000 (18:31 +0100)
commit09bf14b901f2c1908b6a72fe934457acdd1fa430
treeba2e96e91db5f0859d5e8642c83544813579383f
parent51579137c500362018b5341f5dca47807ed558aa
regulator: Fix set and get current limit for wm831x_buckv

WM831X_DC1_HC_THR_MASK is 0x0070.
We need to do proper shift for setting and getting current limit.

Signed-off-by: Axel Lin <axel.lin@gmail.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
drivers/regulator/wm831x-dcdc.c