summaryrefslogtreecommitdiff
path: root/sound
diff options
context:
space:
mode:
authorMichał Mirosław <mirq-linux@rere.qmqm.pl>2020-05-04 21:47:45 +0200
committerSebastian Reichel <sebastian.reichel@collabora.com>2020-05-10 23:06:33 +0200
commit21d90eda433f5d39930ca7133340225b8fb7940f (patch)
tree68f696fa0ec344833413976cdb398228c7538699 /sound
parent1e4724d0b7d1db3b7307fc95fb902a97f4a7b85a (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