]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
media: rcar-vin: Remove NTSC workaround
authorNiklas Söderlund <niklas.soderlund+renesas@ragnatech.se>
Fri, 13 Jun 2025 15:34:31 +0000 (17:34 +0200)
committerHans Verkuil <hverkuil@xs4all.nl>
Mon, 16 Jun 2025 06:52:15 +0000 (08:52 +0200)
On Gen2 where sub-devices where not exposed to user-space the field
TB/BT ordering was controlled by a hack in the VIN driver. Before
converting it to media device model where the subdevice is exposed
remove that hack.

Signed-off-by: Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se>
Reviewed-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Link: https://lore.kernel.org/r/20250613153434.2001800-11-niklas.soderlund+renesas@ragnatech.se
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
drivers/media/platform/renesas/rcar-vin/rcar-dma.c

index 5c08ee2c980761d0c8b9b200f96b3ae71f870d24..4fb33359bb0fad55b8d6ee2713c38c063b8fee47 100644 (file)
@@ -700,9 +700,6 @@ static int rvin_setup(struct rvin_dev *vin)
        case V4L2_FIELD_INTERLACED:
                /* Default to TB */
                vnmc = VNMC_IM_FULL;
-               /* Use BT if video standard can be read and is 60 Hz format */
-               if (!vin->info->use_mc && vin->std & V4L2_STD_525_60)
-                       vnmc = VNMC_IM_FULL | VNMC_FOC;
                break;
        case V4L2_FIELD_INTERLACED_TB:
                vnmc = VNMC_IM_FULL;