]> git.baikalelectronics.ru Git - kernel.git/commit
media: rcar-vin: Make use of V4L2_CAP_IO_MC
authorNiklas Söderlund <niklas.soderlund+renesas@ragnatech.se>
Tue, 21 Apr 2020 13:57:41 +0000 (15:57 +0200)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Wed, 6 May 2020 10:09:28 +0000 (12:09 +0200)
commit64b36151ea0c43b8a8c64f64450497c8e25a5ee8
tree41812667afdcd787433fb13a6d9f9b9e6ba3757e
parentadc43a6d47741f9917986fde5597fc11517a2391
media: rcar-vin: Make use of V4L2_CAP_IO_MC

Set the V4L2_CAP_IO_MC capability flag and remove the driver specific
vidioc_enum_input, vidioc_g_input and vidioc_s_input callbacks for the
media controller enabled part of the driver. Also add support mbus_code
filtering for format enumeration.

Signed-off-by: Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se>
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/rcar-vin/rcar-v4l2.c