commit | 8386c27587594899e4b638010fa0187fe068b295 | [log] [tgz] |
---|---|---|
author | Matt Ranostay <mranostay@gmail.com> | Sat Nov 07 20:21:28 2015 -0800 |
committer | Jonathan Cameron <jic23@kernel.org> | Sat Nov 21 15:57:04 2015 +0000 |
tree | 3601279afa18f53cddca9a5633281e153abede02 | |
parent | 45a6b8218df54087c3bb8dc731424d8789d31790 [diff] |
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>