diff options
author | Peter Meerwald-Stadler <pmeerw@pmeerw.net> | 2017-10-27 22:45:40 +0300 |
---|---|---|
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2017-12-02 13:41:01 +0300 |
commit | 83e6415d565f6ddfa12a58c3f854c4504bdaa7f9 (patch) | |
tree | 1dfdebdd076f8c435a408afd2c6bb4a21421eb19 /drivers/lightnvm | |
parent | ad90e570e2094537b8eb797fca65c492a7397e32 (diff) | |
download | linux-83e6415d565f6ddfa12a58c3f854c4504bdaa7f9.tar.xz |
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>
Diffstat (limited to 'drivers/lightnvm')
0 files changed, 0 insertions, 0 deletions