diff options
| author | 2020-11-19 17:35:47 +0100 | |
|---|---|---|
| committer | 2021-01-12 17:01:48 +0100 | |
| commit | 4eec1919c9585d12526dced3de64c1d95c7fc451 (patch) | |
| tree | 6d99be9157c7f1dd0c15fb690cf11f1030b81001 /include/uapi | |
| parent | media: ov5647: Rework s_stream() operation (diff) | |
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/uapi')
0 files changed, 0 insertions, 0 deletions
