]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 17 Aug 2022 12:40:51 +0000 (14:40 +0200)
[ Upstream commit 5b9b598453d3ae5fa66d7ab591008373a89b91a0 ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/media/platform/renesas/rcar-vin/rcar-core.c

index 64cb05b3907c28e52c28cd3066cb4980f4c67b53..ed3ddf36f9068e5fe34ed3d21a5cc14bec1830bd 100644 (file)
@@ -1264,7 +1264,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 */ }
 };