Received: by 2002:a05:6358:4e97:b0:b3:742d:4702 with SMTP id ce23csp3088347rwb; Mon, 15 Aug 2022 17:50:40 -0700 (PDT) X-Google-Smtp-Source: AA6agR63qEKU92DKCCRjhTenDGS6pzK2jrAZnMX3ZUs3YPneg9x69nl9W4RfUzSzpQFOB90k7McN X-Received: by 2002:a17:907:271b:b0:730:aa8e:74eb with SMTP id w27-20020a170907271b00b00730aa8e74ebmr12072066ejk.478.1660611040771; Mon, 15 Aug 2022 17:50:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1660611040; cv=none; d=google.com; s=arc-20160816; b=IgL4KPm35bdSE/jU3rjaXkXU+gSbKUVYq5v30lDJKqHrGcQueN4YU1Zg1SsP3McCDb /mv9HelvQ4OAnSOA3qU/JREWajJLI1X7ArPKClfGfrSSfz0AuSWViS7IIwlLtlBdwLwy i9TwThVuolF5FPJJ5RBpFfX8iidGbayZ4eZxk2FH0r1cCbJnBVVT2dr9LC4jo2VaBXmo 7FdyLuJvs3T5oyPKVXDGuQca03c3B6DLkl+9Xx2ycKBEnpqK1yKwBmhUnxjftu0j0EcF yrq6uw6x3xF9mtKvsiVJAV+d8ABBo7bUPeztgN/H5Nw8IqujPRYsxaIDT3mg17I5xxDx cRGg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=QNlHOFSY1ieTE3I36w3GTl5jbhZlDVIvoeUaP7Hpv3E=; b=qZ3tAaGosBSxiIjsT1+k+FtT7YDzlVprcrLvG4yGhqL9D/cwXy3zZF6V8c8UR4M4/I vyJhAO+yt1m6bswUWQWn9MunfR63+3LFEdFCEfF1dYJ+5fxL6V8ECIwJRqqepvHIHj6h fgUpsCvh2Z0hD8i7DRS2lD4KMBBw8m6C7Bz/qu9CQkzSUk/zneS5VZpftflEbKorWJ91 As3hMP0FIYnlJTvC5UoiZZ1lpIv/JTF5/62KP959kg/BoDy5grlOcXaS2gxMUTDbi0Sg yLjNNzGWTk1hXKzGrROd8wwk1apd9W0UOyDXSfSoa08sqFAfr4EZx6EUCZ+3Gzx6UZMc YLjA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=Tp4Y2EOt; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id dd20-20020a1709069b9400b00734bad34a17si9417828ejc.835.2022.08.15.17.50.15; Mon, 15 Aug 2022 17:50:40 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=Tp4Y2EOt; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1346546AbiHOXh1 (ORCPT + 99 others); Mon, 15 Aug 2022 19:37:27 -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: 8bit X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Niklas Söderlund [ 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 Signed-off-by: Niklas Söderlund 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 = { }; 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 */ } }; -- 2.35.1