diff options
author | Matt Ranostay <mranostay@gmail.com> | 2015-11-08 05:21:28 +0100 |
---|---|---|
committer | Jonathan Cameron <jic23@kernel.org> | 2015-11-21 16:57:04 +0100 |
commit | 8386c27587594899e4b638010fa0187fe068b295 (patch) | |
tree | 3601279afa18f53cddca9a5633281e153abede02 /include | |
parent | iio: lidar: return -EINVAL on invalid signal (diff) | |
download | linux-8386c27587594899e4b638010fa0187fe068b295.tar.xz linux-8386c27587594899e4b638010fa0187fe068b295.zip |
iio: light: apds9960: correct ->last_busy count
Add missing pm_runtime_mark_last_busy to apds9960_set_power_state
function.
Unless pm_runtime_mark_last_busy is called the
pm_runtime_put_autosuspend may put the device into suspend before the
delay time requested.
Signed-off-by: Matt Ranostay <mranostay@gmail.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions