commit | d1c11dc27e3282e787406290ead5926bb7bb4579 | [log] [tgz] |
---|---|---|
author | Ladislav Michl <ladis@linux-mips.org> | Thu Aug 24 10:25:51 2017 +0200 |
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | Sun Sep 03 18:10:31 2017 +0100 |
tree | 8d4f290d15b6a870d300a1da0d4402238225c497 | |
parent | 4e57562b4846e42cd1c2e556f0ece18c1154e116 [diff] |
iio: adc: ti-ads1015: write config register only on change There is no point writing ADS1015_CFG_REG when configuration didn't change. Avoid that. Cc: Daniel Baluta <daniel.baluta@gmail.com> Cc: Jonathan Cameron <jic23@kernel.org> Signed-off-by: Ladislav Michl <ladis@linux-mips.org> Reviewed-by: Akinobu Mita <akinobu.mita@gmail.com> Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>