projects
/
cascardo
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mason/linux...
[cascardo/linux.git]
/
drivers
/
iio
/
common
/
hid-sensors
/
hid-sensor-trigger.c
diff --git
a/drivers/iio/common/hid-sensors/hid-sensor-trigger.c
b/drivers/iio/common/hid-sensors/hid-sensor-trigger.c
index
73282ce
..
a3109a6
100644
(file)
--- a/
drivers/iio/common/hid-sensors/hid-sensor-trigger.c
+++ b/
drivers/iio/common/hid-sensors/hid-sensor-trigger.c
@@
-75,6
+75,9
@@
int hid_sensor_power_state(struct hid_sensor_common *st, bool state)
(s32)report_val);
}
+ sensor_hub_get_feature(st->hsdev, st->power_state.report_id,
+ st->power_state.index,
+ &state_val);
return 0;
}
EXPORT_SYMBOL(hid_sensor_power_state);