1
0
Fork 0
alistair23-linux/drivers/iio
Peter Meerwald 361d795002 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>
2014-06-21 10:43:13 +01:00
..
accel iio: hid-sensors: Accelerometer 3D: Raw read support 2014-05-05 10:59:49 +01:00
adc iio:adc:ad799x: Fix reading and writing of event values, apply shift 2014-06-21 10:43:13 +01:00
amplifiers iio: amplifiers: ad8366: Remove regulator_put 2013-09-28 11:49:45 +01:00
common First set of IIO fixes for the 3.16 cycle. 2014-06-18 10:41:08 -07:00
dac iio: dac: ad7303: remove an unneeded check 2014-02-03 21:44:42 +00:00
frequency Merge 3.12-rc6 into staging-next. 2013-10-19 13:14:34 -07:00
gyro iio: hid-sensors: Gyro 3D: Raw read support 2014-05-05 10:59:50 +01:00
humidity iio: Add si7005 relative humidity and temperature sensor driver 2014-01-11 11:12:44 +00:00
imu Merge 3.15-rc6 into staging-next. 2014-05-22 23:27:17 +09:00
light iio: hid-sensors: Proximity: Raw read support 2014-05-05 10:59:51 +01:00
magnetometer First set of IIO fixes for the 3.16 cycle. 2014-06-18 10:41:08 -07:00
orientation iio: hid-sensors: Inclinometer 3D: Raw read support 2014-05-05 10:59:52 +01:00
pressure First set of IIO fixes for the 3.16 cycle. 2014-06-18 10:41:08 -07:00
proximity iio: Add AS3935 lightning sensor support 2014-03-16 18:00:32 +00:00
temperature iio: Add Melexis mlx90614 contact-less infrared temperature sensor driver 2014-05-03 11:38:13 +01:00
trigger iio:trigger: fix sysfs name on list mutex 2013-09-28 11:51:16 +01:00
Kconfig iio: always select ANON_INODES 2014-05-10 11:39:57 +01:00
Makefile iio: Add AS3935 lightning sensor support 2014-03-16 18:00:32 +00:00
buffer_cb.c iio get rid of unneccessary error_ret 2014-02-18 08:46:36 +00:00
iio_core.h IIO: core: Introduce read_raw_multi 2014-04-29 22:05:32 +01:00
iio_core_trigger.h iio: fix semicolon in io_core_trigger.h 2013-08-03 18:40:32 +01:00
industrialio-buffer.c IIO: core: Modify scan element type 2014-04-29 22:07:11 +01:00
industrialio-core.c iio: Add TEMP_AMBIENT and TEMP_OBJECT channel modifiers 2014-05-03 11:35:23 +01:00
industrialio-event.c IIO: core: Introduce read_raw_multi 2014-04-29 22:05:32 +01:00
industrialio-trigger.c iio get rid of unneccessary error_ret 2014-02-18 08:46:36 +00:00
industrialio-triggered-buffer.c iio:triggered-buffer: Remove redundant call to iio_sw_buffer_preenable(). 2013-10-16 19:12:47 +01:00
inkern.c IIO: core: Introduce read_raw_multi 2014-04-29 22:05:32 +01:00
kfifo_buf.c iio: kfifo_buf: Implement data_available() callback 2013-12-03 20:22:28 +00:00