tmp_suning_uos_patched/drivers/iio/accel
Sachin Kamat 2f084c1756 iio: hid-sensor-accel-3d: Fix return values
IIO_CHAN_INFO_SAMP_FREQ and IIO_CHAN_INFO_HYSTERESIS cases ignored
the actual return values (which could be -EINVAL) and instead
returned IIO_VAL_INT_PLUS_MICRO always. Return the actual value
obtained from the functions. Both functions return IIO_VAL_INT_PLUS_MICRO
upon success.

Signed-off-by: Sachin Kamat <sachin.kamat@samsung.com>
Cc: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
2014-07-05 11:04:48 +01:00
..
bma180.c iio:accel:bma180: Make LOW_PASS_FILTER_3DB_FREQUENCY shared_by_type 2014-02-15 11:05:02 +00:00
hid-sensor-accel-3d.c iio: hid-sensor-accel-3d: Fix return values 2014-07-05 11:04:48 +01:00
Kconfig iio: Add Freescale MMA8452Q 3-axis accelerometer driver 2014-05-03 12:06:25 +01:00
kxsd9.c iio:accel:kxsd9 fix missing mutex unlock 2013-11-17 15:22:00 +00:00
Makefile iio: Add Freescale MMA8452Q 3-axis accelerometer driver 2014-05-03 12:06:25 +01:00
mma8452.c iio: Add Freescale MMA8452Q 3-axis accelerometer driver 2014-05-03 12:06:25 +01:00
st_accel_buffer.c iio:st_accel: Drop redundant call to iio_sw_buffer_preenable() 2013-10-16 19:11:11 +01:00
st_accel_core.c iio: st_sensors: move regulator retrieveal to core 2014-04-26 11:52:42 +01:00
st_accel_i2c.c iio: accel: st_accel: Use devm_iio_device_alloc 2013-08-03 18:41:18 +01:00
st_accel_spi.c iio: accel: st_accel: Use devm_iio_device_alloc 2013-08-03 18:41:18 +01:00
st_accel.h iio: Added ST-sensors platform data to select the DRDY interrupt pin 2013-08-03 18:40:28 +01:00