diff options
author | Alexandru Ardelean <alexandru.ardelean@analog.com> | 2018-01-18 16:57:40 +0200 |
---|---|---|
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2018-01-30 18:33:21 +0000 |
commit | 64eb8a15a439b56243697237bab6e2c48281138c (patch) | |
tree | 0dcce9dec8123950e11c0e1c823e950e9e8f727c /Documentation/cgroup-v2.txt | |
parent | 2a7fa90a9aef19ee6a959356be53bbd6ed851304 (diff) | |
download | linux-64eb8a15a439b56243697237bab6e2c48281138c.tar.bz2 |
staging: iio: adc: ad7192: disable burnout currents on misconfig
The burnout currents can be enabled only if buffer is enabled
and CHOP is disabled.
So, if neither of these conditions are met, then
we should disable the burnout currents in the driver as well,
and warn the user.
This change doesn't fix anything.
The burnout currents simply won't work if CHOP is enabled
or buffer is disabled.
The intent is to provide the user with some feedback
instead of silently not working inside the chip.
Signed-off-by: Alexandru Ardelean <alexandru.ardelean@analog.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'Documentation/cgroup-v2.txt')
0 files changed, 0 insertions, 0 deletions