diff options
author | Peter Meerwald <pmeerw@pmeerw.net> | 2014-12-06 05:54:00 +0000 |
---|---|---|
committer | Jonathan Cameron <jic23@kernel.org> | 2014-06-21 10:43:13 +0100 |
commit | 361d79500244cc734588534d2756e2495f1549a6 (patch) | |
tree | 84315a3ce378f709574212806fa3a4e51d8e143a /Kconfig | |
parent | e28642c04a19b934e6832a218ccc9e54977f0213 (diff) |
iio:adc:ad799x: Fix reading and writing of event values, apply shift
last two bits of ADC and limit values are zero and should not be reported
(ad7993, ad7997); compare with read_raw()
event values are 10 (ad7993, ad7997) or 12 bit max., check the range on write
Signed-off-by: Peter Meerwald <pmeerw@pmeerw.net>
Cc: Stable@vger.kernel.org
Acked-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'Kconfig')
0 files changed, 0 insertions, 0 deletions