media: rcar-vin: Fix channel routing for Ebisu
authorNiklas Söderlund <niklas.soderlund+renesas@ragnatech.se>
Wed, 8 Jun 2022 20:46:57 +0000 (21:46 +0100)
committerMauro Carvalho Chehab <mchehab@kernel.org>
Mon, 20 Jun 2022 09:30:36 +0000 (10:30 +0100)
When converting to full Virtual Channel routing an error crept into the
routing table for Ebisu (r8a77990). The routing information is used at
probe time preventing rcar-vin from probing correctly on this SoC, solve
by correcting the routing table.

Fixes: 3e52419ec04f9769 ("media: rcar-{csi2,vin}: Move to full Virtual Channel routing per CSI-2 IP")
Reported-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se>
Tested-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
drivers/media/platform/renesas/rcar-vin/rcar-core.c

index 49bdcfba010b2c8ad995d24ca8fbcc25ba53b2ac..4b7a9743554af6c3ead1ddf66188467ddb61395f 100644 (file)
@@ -1261,7 +1261,7 @@ static const struct rvin_info rcar_info_r8a77980 = {
 };
 
 static const struct rvin_group_route rcar_info_r8a77990_routes[] = {
-       { .master = 0, .csi = RVIN_CSI40, .chsel = 0x03 },
+       { .master = 4, .csi = RVIN_CSI40, .chsel = 0x03 },
        { /* Sentinel */ }
 };