linux/drivers/iio/health
Peter Meerwald-Stadler 83e6415d56 iio: health: max30102: Move mode setting to buffer_postenable
Move the programming of the mode setting from init() to
buffer_postenable()

Split out a separate function to
only update the power/shutdown bit

This changes permits to more easily implement different
modes of measurements in further patches

Signed-off-by: Peter Meerwald-Stadler <pmeerw@pmeerw.net>
Acked-by: Matt Ranostay <matt.ranostay@konsulko.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
2017-12-02 10:41:01 +00:00
..
afe440x.h iio: health/afe440x: Use regmap fields 2016-05-04 11:10:38 +01:00
afe4403.c iio:health: drop assign iio_info.driver_module and iio_trigger_ops.owner 2017-08-22 21:29:44 +01:00
afe4404.c iio:health: drop assign iio_info.driver_module and iio_trigger_ops.owner 2017-08-22 21:29:44 +01:00
Kconfig iio: health: add MAX30102 oximeter driver support 2017-02-05 09:45:00 +00:00
Makefile iio: health: add MAX30102 oximeter driver support 2017-02-05 09:45:00 +00:00
max30100.c iio:health: drop assign iio_info.driver_module and iio_trigger_ops.owner 2017-08-22 21:29:44 +01:00
max30102.c iio: health: max30102: Move mode setting to buffer_postenable 2017-12-02 10:41:01 +00:00