summaryrefslogtreecommitdiffstats
path: root/drivers/iio
diff options
context:
space:
mode:
authorMelissa Wen2019-05-19 03:04:56 +0200
committerJonathan Cameron2019-05-27 11:52:30 +0200
commitdf4d737ee4d7205aaa6275158aeebff87fd14488 (patch)
treed85205c6ad1bc823bf4d4760441d42b83f6e6b59 /drivers/iio
parentstaging: kpc2000: Add dependency on MFD_CORE to kconfig symbol 'KPC2000' (diff)
downloadkernel-qcow2-linux-df4d737ee4d7205aaa6275158aeebff87fd14488.tar.gz
kernel-qcow2-linux-df4d737ee4d7205aaa6275158aeebff87fd14488.tar.xz
kernel-qcow2-linux-df4d737ee4d7205aaa6275158aeebff87fd14488.zip
staging:iio:ad7150: fix threshold mode config bit
According to the AD7150 configuration register description, bit 7 assumes value 1 when the threshold mode is fixed and 0 when it is adaptive, however, the operation that identifies this mode was considering the opposite values. This patch renames the boolean variable to describe it correctly and properly replaces it in the places where it is used. Fixes: 531efd6aa0991 ("staging:iio:adc:ad7150: chan_spec conv + i2c_smbus commands + drop unused poweroff timeout control.") Signed-off-by: Melissa Wen <melissa.srw@gmail.com> Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'drivers/iio')
0 files changed, 0 insertions, 0 deletions