]> git.karo-electronics.de Git - linux-beck.git/commit
IIO: call sensor hub open close function
authorSrinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
Wed, 18 Sep 2013 17:13:00 +0000 (18:13 +0100)
committerJonathan Cameron <jic23@kernel.org>
Tue, 1 Oct 2013 15:19:08 +0000 (16:19 +0100)
commit7d3c192df0457195c4cdd5272b39c8db8334be81
treefb18b97e957235413c167ce2efab648b1dbaf9ab
parent1df3a401154add23826d714c808204633b3b1c31
IIO: call sensor hub open close function

Call hid_sensor_hub_device_open when user space opens device and call
hid_sensor_hub_device_close when device is closed. This helps in
saving power.

Signed-off-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/iio/common/hid-sensors/hid-sensor-trigger.c