]> asedeno.scripts.mit.edu Git - linux.git/commit
media: rcar-vin: Remove unneeded calls to pm_runtime_{enable, disable}
authorNiklas Söderlund <niklas.soderlund+renesas@ragnatech.se>
Wed, 12 Jun 2019 23:45:41 +0000 (19:45 -0400)
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Fri, 21 Jun 2019 20:40:02 +0000 (16:40 -0400)
commitb2ef816c3db01f365448e8623c4f1d51cc2ba610
tree1f11396dcf961516ced458cbcfbbd4011c952183
parenta244fabc15ffba245f80fd49ab486b9881e9e6de
media: rcar-vin: Remove unneeded calls to pm_runtime_{enable, disable}

Runtime PM is already enabled unconditionally when the driver is probed
and disabled when it's removed. There is no point in doing it again for
Gen2 when opening and closing the video device.

Signed-off-by: Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se>
Reviewed-by: Ulrich Hecht <uli+renesas@fpond.eu>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
drivers/media/platform/rcar-vin/rcar-v4l2.c