OpenCloudOS-Kernel/drivers/iio/magnetometer
Sachin Kamat 5f25b41f7e iio: hid-sensor-magn-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:12 +01:00
..
Kconfig iio: ak8975 : Add AK8963 compatibility mode support 2014-03-22 12:41:37 +00:00
Makefile iio: Add Freescale mag3110 magnetometer driver 2013-10-23 17:43:11 +01:00
ak8975.c First set of IIO fixes for the 3.16 cycle. 2014-06-18 10:41:08 -07:00
hid-sensor-magn-3d.c iio: hid-sensor-magn-3d: Fix return values 2014-07-05 11:07:12 +01:00
mag3110.c iio:magnetometer:mag3110: Enable user offset calibration 2014-05-03 11:27:52 +01:00
st_magn.h iio: Added ST-sensors platform data to select the DRDY interrupt pin 2013-08-03 18:40:28 +01:00
st_magn_buffer.c iio:st_magn: Remove redundant call to iio_sw_buffer_preenable(). 2013-10-16 19:13:50 +01:00
st_magn_core.c iio: st_sensors: move regulator retrieveal to core 2014-04-26 11:52:42 +01:00
st_magn_i2c.c iio: magnetometer: st_magn: Use devm_iio_device_alloc 2013-08-03 18:43:14 +01:00
st_magn_spi.c iio: magnetometer: st_magn: Use devm_iio_device_alloc 2013-08-03 18:43:14 +01:00