android_kernel_samsung_univ.../drivers/iio
Song Hongyan 29cf142cef iio: orientation: hid-sensor-rotation: Add PM function (fix non working driver)
commit 8af644a7d6846f48d6b72be5d4a3c6eb16bd33c8 upstream.

This fix makes newer ISH hubs work. Previous ones worked by lucky
coincidence.

Rotation sensor function does not work due to miss PM function.
Add common hid sensor iio pm function for rotation sensor.

Further clarification from Srinivas:

If CONFIG_PM is not defined, then this prevents this sensor to
function. So above commit caused this.

This sensor was supposed to be always on to trigger wake up in prior
external hubs. But with the new ISH hub this is not the case.

Signed-off-by: Song Hongyan <hongyan.song@intel.com>
Fixes: 2b89635e9a ("iio: hid_sensor_hub: Common PM functions")
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2016-11-18 10:48:35 +01:00
..
accel iio: accel: kxsd9: Fix scaling bug 2016-09-24 10:07:38 +02:00
adc iio: adc: at91: unbreak channel adc channel 3 2016-09-24 10:07:38 +02:00
amplifiers spi: Updates for v4.4 2015-11-05 13:15:12 -08:00
buffer iio: Move generic buffer implementations to sub-directory 2015-08-16 10:51:21 +01:00
chemical iio: chemical: vz89x hardware i2c workaround 2015-09-30 18:20:53 +01:00
common iio: hid-sensors: Increase the precision of scale to fix wrong reading interpretation. 2016-11-18 10:48:35 +01:00
dac iio: dac: mcp4725: set iio name property in sysfs 2016-02-25 12:01:17 -08:00
frequency spi: Updates for v4.4 2015-11-05 13:15:12 -08:00
gyro iio: gyro: bmg160: fix endianness when reading axes 2016-04-20 15:42:12 +09:00
humidity iio: hudmidity: hdc100x: fix incorrect shifting and scaling 2016-07-27 09:47:36 -07:00
imu iio: adis_buffer: Fix out-of-bounds memory access 2016-02-25 12:01:17 -08:00
light iio: light apds9960: Add the missing dev.parent 2016-07-27 09:47:36 -07:00
magnetometer iio: ak8975: fix maybe-uninitialized warning 2016-05-11 11:21:23 +02:00
orientation iio: orientation: hid-sensor-rotation: Add PM function (fix non working driver) 2016-11-18 10:48:35 +01:00
potentiometer iio: mcp4531: Driver for Microchip digital potentiometers 2015-09-30 18:20:53 +01:00
pressure iio:st_pressure: fix sampling gains (bring inline with ABI) 2016-07-27 09:47:36 -07:00
proximity iio: proximity: as3935: set up buffer timestamps for non-zero values 2016-09-24 10:07:37 +02:00
temperature Add tsys02d meas-spec driver support 2015-10-11 10:21:19 +01:00
trigger
iio_core_trigger.h
iio_core.h
industrialio-buffer.c iio: ensure ret is initialized to zero before entering do loop 2016-09-24 10:07:38 +02:00
industrialio-core.c include/linux/kernel.h: change abs() macro so it uses consistent return type 2016-09-30 10:18:33 +02:00
industrialio-event.c iio: event: Remove negative error code from iio_event_poll 2015-08-12 19:26:39 +01:00
industrialio-trigger.c iio: Fix error handling in iio_trigger_attach_poll_func 2016-07-27 09:47:36 -07:00
industrialio-triggered-event.c iio: Support triggered events 2015-08-27 20:47:09 +01:00
inkern.c iio: inkern: fix a NULL dereference on error 2016-02-25 12:01:17 -08:00
Kconfig iio: mcp4531: Driver for Microchip digital potentiometers 2015-09-30 18:20:53 +01:00
Makefile iio: mcp4531: Driver for Microchip digital potentiometers 2015-09-30 18:20:53 +01:00