OSDN Git Service

media: ti-vpe: cal: cleanup CIO power enable/disable
authorTomi Valkeinen <tomi.valkeinen@ti.com>
Wed, 25 Mar 2020 12:15:03 +0000 (13:15 +0100)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Tue, 14 Apr 2020 10:49:35 +0000 (12:49 +0200)
commitf77f2e1f29469394d9113669a88079863f37fc29
treec1c6ac2a87a56b3c01466cb5c3676f0f9d1e1f8b
parentfa72ef7abc90575e0fba8c8ecffa532ec6859cd9
media: ti-vpe: cal: cleanup CIO power enable/disable

Move the code to enable and disable ComplexIO power to its own function.

Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-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