OpenCloudOS-Kernel/drivers/iio/gyro
Sachin Kamat 27793803f2 iio: hid-sensor-gyro-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:07:58 +01:00
..
Kconfig iio:gyro: bug on L3GD20H gyroscope support 2014-02-18 10:24:49 +00:00
Makefile staging:iio:adis16260: Move out of staging 2013-08-03 18:41:22 +01:00
adis16080.c iio:adis16080: Use spi_sync_transfer() 2013-10-05 11:58:54 +01:00
adis16130.c iio: gyro: adis16130: Use devm_iio_device_register 2013-11-24 21:07:17 +00:00
adis16136.c iio: gyro: adis16136: Use devm_iio_device_alloc 2013-08-17 15:50:54 +01:00
adis16260.c iio: gyro: adis16260: Remove redundant break 2013-09-14 11:37:00 +01:00
adxrs450.c iio: gyro: adxrs450: Use devm_iio_device_register 2013-11-24 21:07:18 +00:00
hid-sensor-gyro-3d.c iio: hid-sensor-gyro-3d: Fix return values 2014-07-05 11:07:58 +01:00
itg3200_buffer.c iio:itg3200: Use iio_push_to_buffers_with_timestamp() 2013-09-21 19:23:56 +01:00
itg3200_core.c iio:gyro:itg3200 - drop unreachable return ret. Highlighted by smatch 2014-03-16 18:00:35 +00:00
st_gyro.h iio:gyro: bug on L3GD20H gyroscope support 2014-02-18 10:24:49 +00:00
st_gyro_buffer.c iio:st_gyro: Remove redundant call to iio_sw_buffer_preenable(). 2013-10-16 19:12:46 +01:00
st_gyro_core.c iio: st_sensors: move regulator retrieveal to core 2014-04-26 11:52:42 +01:00
st_gyro_i2c.c iio:gyro: bug on L3GD20H gyroscope support 2014-02-18 10:24:49 +00:00
st_gyro_spi.c iio:gyro: bug on L3GD20H gyroscope support 2014-02-18 10:24:49 +00:00