diff options
author | Michał Mirosław <mirq-linux@rere.qmqm.pl> | 2020-05-04 21:47:45 +0200 |
---|---|---|
committer | Sebastian Reichel <sebastian.reichel@collabora.com> | 2020-05-10 23:06:33 +0200 |
commit | 21d90eda433f5d39930ca7133340225b8fb7940f (patch) | |
tree | 68f696fa0ec344833413976cdb398228c7538699 /sound | |
parent | 1e4724d0b7d1db3b7307fc95fb902a97f4a7b85a (diff) |
power: bq25890: fix ADC mode configuration
Datasheet describes two modes for reading ADC measurements:
1. continuous, 1 Hz - enabled and started by CONV_RATE bit
2. one-shot - triggered by CONV_START bit
In continuous mode, CONV_START is read-only and signifies an ongoing
conversion.
Change the code to follow the datasheet and really disable continuous
mode for power saving.
Signed-off-by: Michał Mirosław <mirq-linux@rere.qmqm.pl>
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Diffstat (limited to 'sound')
0 files changed, 0 insertions, 0 deletions