commit | bfea23a27f4cd709a5e048a6fd18dab84b752e32 | [log] [tgz] |
---|---|---|
author | John Keeping <john@metanate.com> | Sun Aug 07 12:55:39 2016 +0100 |
committer | Simon Glass <sjg@chromium.org> | Fri Aug 12 09:23:12 2016 -0600 |
tree | 6e8a56b35c17fc62ca14ffa2496543f9a50267f1 | |
parent | 7d30e10aeb3b7b5a4e8bec16948e2d36154e2aa8 [diff] |
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>