commit | 361d79500244cc734588534d2756e2495f1549a6 | [log] [tgz] |
---|---|---|
author | Peter Meerwald <pmeerw@pmeerw.net> | Sat Dec 06 05:54:00 2014 +0000 |
committer | Jonathan Cameron <jic23@kernel.org> | Sat Jun 21 10:43:13 2014 +0100 |
tree | 84315a3ce378f709574212806fa3a4e51d8e143a | |
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>