diff options
| author | Jacopo Mondi <jacopo@jmondi.org> | 2020-11-19 17:35:47 +0100 |
|---|---|---|
| committer | Mauro Carvalho Chehab <mchehab+huawei@kernel.org> | 2021-01-12 17:01:48 +0100 |
| commit | 4eec1919c9585d12526dced3de64c1d95c7fc451 (patch) | |
| tree | 6d99be9157c7f1dd0c15fb690cf11f1030b81001 /include/linux/timerqueue.h | |
| parent | 2f038c97fd7baaf9508cf32998a5f8f1ddc09a5e (diff) | |
| download | cachepc-linux-4eec1919c9585d12526dced3de64c1d95c7fc451.tar.gz cachepc-linux-4eec1919c9585d12526dced3de64c1d95c7fc451.zip | |
media: ov5647: Apply controls only when powered
Use pm_runtime_get_if_in_use() in s_ctrl to apply controls
only when the device is powered on.
Rework the control set function to balance the
pm_runtime_get_if_in_use() call with
pm_runtime_put() at the end of the function.
Signed-off-by: Jacopo Mondi <jacopo@jmondi.org>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Diffstat (limited to 'include/linux/timerqueue.h')
0 files changed, 0 insertions, 0 deletions
