summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorNiklas Söderlund <niklas.soderlund+renesas@ragnatech.se>2022-06-08 21:46:57 +0100
committerMauro Carvalho Chehab <mchehab@kernel.org>2022-06-20 10:30:36 +0100
commit5b9b598453d3ae5fa66d7ab591008373a89b91a0 (patch)
tree17ea59ff663f3adeeb33f4c055681036cdd3bd90 /drivers
parent377301bfb6f0dffbf1f8f7ae009c88c2301f9812 (diff)
downloadlinux-stable-5b9b598453d3ae5fa66d7ab591008373a89b91a0.tar.gz
linux-stable-5b9b598453d3ae5fa66d7ab591008373a89b91a0.tar.bz2
linux-stable-5b9b598453d3ae5fa66d7ab591008373a89b91a0.zip
media: rcar-vin: Fix channel routing for Ebisu
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>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/media/platform/renesas/rcar-vin/rcar-core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/platform/renesas/rcar-vin/rcar-core.c b/drivers/media/platform/renesas/rcar-vin/rcar-core.c
index 49bdcfba010b..4b7a9743554a 100644
--- a/drivers/media/platform/renesas/rcar-vin/rcar-core.c
+++ b/drivers/media/platform/renesas/rcar-vin/rcar-core.c
@@ -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 */ }
};