OSDN Git Service

media: ti-vpe: cal: Drop cal_ctx m_fmt field
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Sun, 6 Dec 2020 23:53:31 +0000 (00:53 +0100)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Mon, 4 Jan 2021 10:30:18 +0000 (11:30 +0100)
commit9ccd0021d0264874f26aeeb315a94149869c81cd
treef750260c11d41c92b8419be98e2e816b9c865ed1
parent5acc3e22c25359f41ae18d3f8c63e20b6e4f74a8
media: ti-vpe: cal: Drop cal_ctx m_fmt field

The struct cal_ctx m_fmt field stores the media bus format for the
context input. Only the format 'field' field is used, store it in the
video format instead, and drop m_fmt.

Signed-off-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-video.c
drivers/media/platform/ti-vpe/cal.c
drivers/media/platform/ti-vpe/cal.h