diff options
Diffstat (limited to 'drivers/iio/light/hid-sensor-als.c')
-rw-r--r-- | drivers/iio/light/hid-sensor-als.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/iio/light/hid-sensor-als.c b/drivers/iio/light/hid-sensor-als.c index 948acfc38b8c..1609ecdd01b0 100644 --- a/drivers/iio/light/hid-sensor-als.c +++ b/drivers/iio/light/hid-sensor-als.c | |||
@@ -101,7 +101,8 @@ static int als_read_raw(struct iio_dev *indio_dev, | |||
101 | *val = sensor_hub_input_attr_get_raw_value( | 101 | *val = sensor_hub_input_attr_get_raw_value( |
102 | als_state->common_attributes.hsdev, | 102 | als_state->common_attributes.hsdev, |
103 | HID_USAGE_SENSOR_ALS, address, | 103 | HID_USAGE_SENSOR_ALS, address, |
104 | report_id); | 104 | report_id, |
105 | SENSOR_HUB_SYNC); | ||
105 | hid_sensor_power_state(&als_state->common_attributes, | 106 | hid_sensor_power_state(&als_state->common_attributes, |
106 | false); | 107 | false); |
107 | } else { | 108 | } else { |