2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-25 21:54:06 +08:00
linux-next/drivers/iio/light
Sachin Kamat 4ff9f633c3 iio: hid-sensor-prox: 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:09:46 +01:00
..
adjd_s311.c iio: delete non-required instances of include <linux/init.h> 2014-01-11 11:59:00 +00:00
apds9300.c iio: Remove support for the legacy event config interface 2013-12-08 13:13:52 +00:00
cm32181.c iio: cm32181: Fix read integration time function 2014-03-15 15:16:42 +00:00
cm36651.c iio: cm36651: Fix i2c client leak and possible NULL pointer dereference 2014-03-22 12:22:49 +00:00
gp2ap020a00f.c iio: Fix spelling of illuminance in gp2ap020a00f driver 2014-05-03 11:58:13 +01:00
hid-sensor-als.c iio: hid-sensor-als: Fix return values 2014-07-05 11:07:38 +01:00
hid-sensor-prox.c iio: hid-sensor-prox: Fix return values 2014-07-05 11:09:46 +01:00
Kconfig iio: hid-sensors: Added Proximity Sensor Driver 2014-02-22 13:07:01 +00:00
lm3533-als.c iio: light: lm3533-als: Use devm_iio_device_alloc 2013-08-03 18:55:25 +01:00
ltr501.c iio: Add Lite-On ltr501 ambient light / proximity sensor driver 2014-01-12 18:15:40 +00:00
Makefile iio: hid-sensors: Added Proximity Sensor Driver 2014-02-22 13:07:01 +00:00
tcs3472.c iio: Remove obsolete variable in tcs3472 driver 2014-01-11 11:51:33 +00:00
tsl2563.c First set of IIO fixes for the 3.14 cycle. 2014-02-07 08:57:00 -08:00
tsl4531.c iio: Add tsl4531 ambient light sensor driver 2013-09-14 21:17:15 +01:00
vcnl4000.c iio:vcnl4000: Mark transfer buffer as __be16 2013-12-03 20:22:27 +00:00