]> git.sur5r.net Git - u-boot/commit
power: regulator: act8846: fix reading values
authorJohn Keeping <john@metanate.com>
Sun, 7 Aug 2016 11:55:39 +0000 (12:55 +0100)
committerSimon Glass <sjg@chromium.org>
Fri, 12 Aug 2016 15:23:12 +0000 (09:23 -0600)
commit65f89be2ef73c6605ffe08eb671c425603ec765a
tree6e8a56b35c17fc62ca14ffa2496543f9a50267f1
parent6e06acb73248e32457064d8fe820cbc217c45f3f
power: regulator: act8846: fix reading values

The voltage and control registers need to be looked up from the value in
driver_data.  Adjust the get_value and get_enable functions to match the
corresponding set_* functions.

Signed-off-by: John Keeping <john@metanate.com>
Acked-by: Simon Glass <sjg@chromium.org>
drivers/power/regulator/act8846.c