summaryrefslogtreecommitdiff
path: root/drivers/iio/pressure/hid-sensor-press.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/iio/pressure/hid-sensor-press.c')
-rw-r--r--drivers/iio/pressure/hid-sensor-press.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/iio/pressure/hid-sensor-press.c b/drivers/iio/pressure/hid-sensor-press.c
index 1af314926ebd..7bb8d4c1f7df 100644
--- a/drivers/iio/pressure/hid-sensor-press.c
+++ b/drivers/iio/pressure/hid-sensor-press.c
@@ -100,7 +100,8 @@ static int press_read_raw(struct iio_dev *indio_dev,
*val = sensor_hub_input_attr_get_raw_value(
press_state->common_attributes.hsdev,
HID_USAGE_SENSOR_PRESSURE, address,
- report_id);
+ report_id,
+ SENSOR_HUB_SYNC);
hid_sensor_power_state(&press_state->common_attributes,
false);
} else {