media: ti-vpe: cal: Add subdev s_power hooks
authorBenoit Parrot <bparrot@ti.com>
Tue, 12 Nov 2019 14:53:43 +0000 (15:53 +0100)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Mon, 9 Dec 2019 10:31:48 +0000 (11:31 +0100)
commit04d766acbf3ecfb26275c40fc04cb7ce2680e43c
tree299affc6106310eee530e549e32423e798728777
parent7a3b9684cede12dd60b50af874646527e25eb4d2
media: ti-vpe: cal: Add subdev s_power hooks

Because V4L2 still uses a specific way to manage power state of devices
that predates runtime PM, bridge driver should power on and off sub
device explicitly.

Signed-off-by: Benoit Parrot <bparrot@ti.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
drivers/media/platform/ti-vpe/cal.c