From nobody Mon Sep 29 21:20:49 2025 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 10714C3F6B0 for ; Mon, 15 Aug 2022 23:37:31 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1346679AbiHOXh2 (ORCPT ); Mon, 15 Aug 2022 19:37:28 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51248 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S243490AbiHOXcX (ORCPT ); Mon, 15 Aug 2022 19:32:23 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C1B9E150BA6; Mon, 15 Aug 2022 13:08:29 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 4797960B6E; Mon, 15 Aug 2022 20:08:29 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 3A4F1C433D6; Mon, 15 Aug 2022 20:08:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1660594108; bh=K6Kh/KQR78vCUdXsrwlHCCao7bsXJW+uXFfWU4GRghM=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Tp4Y2EOtXaaSUbfW++8R/W09R2s/s+s1McTUUNphgOXZktIRWgpJ6EJaPGaLBEacs CJE1FM9rgKOZ/bULKvZxU04ixstuXjd8FkWsEoZPbL9+sTVsANdXgf3uRGGGYdwDzs WLYQIs3/m0Q79ojbSbGTguMUiQl9wD3Q8zagorzE= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Geert Uytterhoeven , =?UTF-8?q?Niklas=20S=C3=B6derlund?= , Hans Verkuil , Mauro Carvalho Chehab , Sasha Levin Subject: [PATCH 5.19 0380/1157] media: rcar-vin: Fix channel routing for Ebisu Date: Mon, 15 Aug 2022 19:55:36 +0200 Message-Id: <20220815180454.939867845@linuxfoundation.org> X-Mailer: git-send-email 2.37.2 In-Reply-To: <20220815180439.416659447@linuxfoundation.org> References: <20220815180439.416659447@linuxfoundation.org> User-Agent: quilt/0.67 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Niklas S=C3=B6derlund [ 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 Chan= nel routing per CSI-2 IP") Reported-by: Geert Uytterhoeven Signed-off-by: Niklas S=C3=B6derlund Tested-by: Geert Uytterhoeven Signed-off-by: Hans Verkuil Signed-off-by: Mauro Carvalho Chehab Signed-off-by: Sasha Levin --- drivers/media/platform/renesas/rcar-vin/rcar-core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 =3D { }; =20 static const struct rvin_group_route rcar_info_r8a77990_routes[] =3D { - { .master =3D 0, .csi =3D RVIN_CSI40, .chsel =3D 0x03 }, + { .master =3D 4, .csi =3D RVIN_CSI40, .chsel =3D 0x03 }, { /* Sentinel */ } }; =20 --=20 2.35.1