diff options
author | Sakari Ailus <sakari.ailus@linux.intel.com> | 2019-10-16 14:19:30 +0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab+huawei@kernel.org> | 2020-06-23 16:14:06 +0300 |
commit | c1d7a2c8259c0a65189542d3e5d7a80f9ea012b6 (patch) | |
tree | e5171683c5697dd7a9893a7a5612ac55d6be9fa3 /drivers/media/i2c/Kconfig | |
parent | 52db11f38333f90dcdc9a12a09f9ec990516025d (diff) | |
download | linux-c1d7a2c8259c0a65189542d3e5d7a80f9ea012b6.tar.xz |
media: smiapp: Use pm_runtime_get_if_active
Use the convenience function pm_runtime_get_if_active() instead of a
number of calls to runtime PM to figure out if the device was already
powered up.
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Diffstat (limited to 'drivers/media/i2c/Kconfig')
0 files changed, 0 insertions, 0 deletions