OpenCloudOS-Kernel/drivers/media/platform/rcar-vin
Lad Prabhakar 811b8d66f9 media: rcar-vin: rcar-dma: Fix setting VNIS_REG for RAW8 formats
pixelformat in vin priv structure holds V4L2_PIX_FMT_* and not
MEDIA_BUS_FMT_* so make sure we check against V4L2_PIX_FMT_* formats
while setting the VNIS_REG.

Fixes: 8c3e0f67df ("media: rcar-vin: Extend RAW8 support to all RGB layouts")
Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
Reviewed-by: Biju Das <biju.das.jz@bp.renesas.com>
Reviewed-by: Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
2020-10-08 09:09:37 +02:00
..
Kconfig media: rcar-vin: Kconfig: Update help description for VIDEO_RCAR_VIN config 2020-09-26 10:54:41 +02:00
Makefile media: rcar-vin: convert to SPDX identifiers 2018-08-03 16:03:45 -04:00
rcar-core.c media: rcar-vin: Enable YDS bit depending on bus_width and data_shift 2020-09-26 10:58:46 +02:00
rcar-csi2.c media: rcar-csi2: Extend RAW8 support to all RGB layouts 2020-09-27 11:29:01 +02:00
rcar-dma.c media: rcar-vin: rcar-dma: Fix setting VNIS_REG for RAW8 formats 2020-10-08 09:09:37 +02:00
rcar-v4l2.c media: rcar-vin: Extend RAW8 support to all RGB layouts 2020-09-27 11:29:27 +02:00
rcar-vin.h media: rcar-vin: Enable YDS bit depending on bus_width and data_shift 2020-09-26 10:58:46 +02:00