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)
commitd5f74a1eff9aef3ba23673c8ef74719ba8a105f7
tree41812667afdcd787433fb13a6d9f9b9e6ba3757e
parente5b6b07a1b45dd9d19bec1fa1d60750b0fcf2fb0
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