OSDN Git Service

media: ti-vpe: cal: disable csi2 ctx and pix proc at ctx_stop
authorTomi Valkeinen <tomi.valkeinen@ideasonboard.com>
Mon, 14 Jun 2021 11:23:26 +0000 (13:23 +0200)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Mon, 12 Jul 2021 11:02:48 +0000 (13:02 +0200)
commit38f7435f13049fb9f721fbed30d2ca3c3ddfbd6a
tree6e1812de37c465207edbb664299631a894a1f9d2
parentaf981fc2e6ca2a8a59ed967e50c8b5875e36fa68
media: ti-vpe: cal: disable csi2 ctx and pix proc at ctx_stop

Disable CSI2 context and pix proc in cal_ctx_stop() to ensure they are
not used if the same context is used later on a different PHY or without
pix proc.

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