diff options
Diffstat (limited to 'drivers/iio/light/apds9960.c')
-rw-r--r-- | drivers/iio/light/apds9960.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/iio/light/apds9960.c b/drivers/iio/light/apds9960.c index 7d269ef9e062..f6a07dc32ae4 100644 --- a/drivers/iio/light/apds9960.c +++ b/drivers/iio/light/apds9960.c | |||
@@ -453,6 +453,7 @@ static int apds9960_set_power_state(struct apds9960_data *data, bool on) | |||
453 | usleep_range(data->als_adc_int_us, | 453 | usleep_range(data->als_adc_int_us, |
454 | APDS9960_MAX_INT_TIME_IN_US); | 454 | APDS9960_MAX_INT_TIME_IN_US); |
455 | } else { | 455 | } else { |
456 | pm_runtime_mark_last_busy(dev); | ||
456 | ret = pm_runtime_put_autosuspend(dev); | 457 | ret = pm_runtime_put_autosuspend(dev); |
457 | } | 458 | } |
458 | 459 | ||