diff options
author | Sakari Ailus <sakari.ailus@linux.intel.com> | 2018-07-20 23:26:44 +0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab+samsung@kernel.org> | 2018-08-31 16:17:08 +0300 |
commit | d508fffb92d9b8b9e0951657b2b78cf752ff0b4e (patch) | |
tree | f3aca025d46aacf983affbc5ca1759db1a6cd14c /drivers/media/pci | |
parent | 361f3803adfea1714de6da0af92854a0ac44a07c (diff) | |
download | linux-d508fffb92d9b8b9e0951657b2b78cf752ff0b4e.tar.xz |
media: ov5670, ov13858: Use pm_runtime_idle
Replace the calls to pm_runtime_get_noresume() and pm_runtime_put() with
pm_runtime_idle() in the driver's probe function. This will have the same
effect with fewer calls. pm_runtime_disable() in remove is sufficient as
the device is already in RPM_SUSPENDED state.
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Diffstat (limited to 'drivers/media/pci')
0 files changed, 0 insertions, 0 deletions