original_kernel/drivers/iio
Guenter Roeck 482bb4e6c6 iio/adc: (max1363) Fix data conversion problems
For chips with more than 8 bit ADC resolution, received data was always
masked against 0xfff, ie with a 12 bit mask. This can result in bad data
for chips with 10 bit resolution if those chips have higher bits set
(seen with MAX1139).

The receive buffer was defined as char array. This could result in
unintentional sign extensions if the upper bit in a received byte
was set. Since the chip is configured for unipolar mode, we never
have to handle negative values, and sign extensions are never needed.

Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
2013-02-02 10:08:23 +00:00
..
accel iio:accel: Add STMicroelectronics accelerometers driver 2013-01-31 17:56:43 +00:00
adc iio/adc: (max1363) Fix data conversion problems 2013-02-02 10:08:23 +00:00
amplifiers
common iio:common: removed unused functions outside st_sensors library 2013-02-02 09:37:54 +00:00
dac
frequency
gyro iio: gyro: Add itg3200 2013-02-02 09:33:33 +00:00
imu iio:adis16400: Add support for the adis16448 2013-01-26 10:07:51 +00:00
light iio:light:tsl2563 move out of staging 2013-01-27 17:37:24 +00:00
magnetometer iio:magnetometer: Add STMicroelectronics magnetometers driver 2013-01-31 17:56:43 +00:00
Kconfig
Makefile
buffer_cb.c
iio_core.h
iio_core_trigger.h
industrialio-buffer.c
industrialio-core.c
industrialio-event.c
industrialio-trigger.c
industrialio-triggered-buffer.c
inkern.c
kfifo_buf.c staging:iio: Remove noop call to __iio_update_buffer 2013-01-31 17:56:44 +00:00