diff options
author | Peter Meerwald-Stadler <pmeerw@pmeerw.net> | 2017-10-27 21:45:40 +0200 |
---|---|---|
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2017-12-02 10:41:01 +0000 |
commit | 83e6415d565f6ddfa12a58c3f854c4504bdaa7f9 (patch) | |
tree | 1dfdebdd076f8c435a408afd2c6bb4a21421eb19 /drivers/net/team | |
parent | ad90e570e2094537b8eb797fca65c492a7397e32 (diff) |
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/net/team')
0 files changed, 0 insertions, 0 deletions