Received: by 2002:a05:6358:4e97:b0:b3:742d:4702 with SMTP id ce23csp3091322rwb; Mon, 15 Aug 2022 17:55:00 -0700 (PDT) X-Google-Smtp-Source: AA6agR4mi+C0BJ3nDfZYoPXprEg+o5SJfur+OX4WpVnxltNSL+4YR+TZf+Ka+wpuzoFENbQ0pFVh X-Received: by 2002:a17:906:4787:b0:734:1ad4:aff0 with SMTP id cw7-20020a170906478700b007341ad4aff0mr11625264ejc.317.1660611211095; Mon, 15 Aug 2022 17:53:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1660611211; cv=none; d=google.com; s=arc-20160816; b=qyD2GlGmChjei2CXaddlc2YDDGIbTf8tUtaeIN/6F5zbPt8I2ek+7xyJzCIrf7rdMK bwuFKyhDMHOvzmlEp1JD8pzITRZg+aje/YsazQ2qofOsXa1DmcZEDbQyNeXIv1QMceg7 2juJ/yMuJsjK2eLPTwRHCqJENnh1mcCdT/+k5UGM2m1dNIKayUCJKadHWjHQ+14RqjfE IUowzJtdu0YC2+SCooQwO2npfOwTI1/u7tU2iwxoeznsUGXVqY50YaJ/g2Ez0Ylc0SxV Wus9kCSXujjsztx32Kov2atn/jOTcjmoruz4pzRuEjunu8hG3YNeGnp5HP9tidyHtRp1 m8Gw== 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=27jnsgLdAa/eoosbzfa7hZJTA0tlNNtxUnZo4JrwMPE=; b=mRXXYIkTnXXM7n9W+XTOJqTXItNMw2AnvJL6FLaNa8kNxHyuGzG8ioTs1X7jzdqwAQ De/toCF3KeBHaCwdGLkP07cr6a1SWW8JLGplm4IoYT6oaGDrP4bRVty6FW09MbLC38kV RUciAu18Xhfggog0D7qMkHk6HEEhp+J2ZEysxaE4LjSZ9A8H0GDujepAM5hGZgMzqz4H gz2Ec3DJyGNldMd7fkJBiE5H8BEHoK6j/VLsI0MmE/lc46MQNQgszXTkNW0fHF449a4z i63cdnK8jmC29b0xSbVoMF9oUH+3hKzABKlqqyiWIdzDaG8JmFFCbT1dzIvFm9Gz0lFI 3Sfg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=YH5cH107; 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 dn16-20020a17090794d000b00726e777489csi9513892ejc.757.2022.08.15.17.53.05; Mon, 15 Aug 2022 17:53:31 -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=YH5cH107; 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 S244985AbiHOU76 (ORCPT + 99 others); Mon, 15 Aug 2022 16:59:58 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36564 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233257AbiHOU7Q (ORCPT ); Mon, 15 Aug 2022 16:59:16 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 77EFFC229D; Mon, 15 Aug 2022 12:12:41 -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 ams.source.kernel.org (Postfix) with ESMTPS id 736AAB810A3; Mon, 15 Aug 2022 19:12:39 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id C0448C433C1; Mon, 15 Aug 2022 19:12:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1660590758; bh=TBZTjxNObxMeSF9MVLIlhAHznmQOteS10aeexvE2FOw=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=YH5cH107sbsHcIrq0xqXtoii3OYlxyRmDfqWdNMwsn6dfYYbvYsJ59+IMsxtAqGV0 yh51MpwlCGlRUJIZZJeJWPSN1pbO4dd97D9u8DdhZdVmfuJ+GRnvVog7f7X09xQyND +7OZFckrhw3WqEgT8qALwrPE6Imjy1Gutl8kILkc= 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.18 0360/1095] media: rcar-vin: Fix channel routing for Ebisu Date: Mon, 15 Aug 2022 19:55:59 +0200 Message-Id: <20220815180444.624606406@linuxfoundation.org> X-Mailer: git-send-email 2.37.2 In-Reply-To: <20220815180429.240518113@linuxfoundation.org> References: <20220815180429.240518113@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 64cb05b3907c..ed3ddf36f906 100644 --- a/drivers/media/platform/renesas/rcar-vin/rcar-core.c +++ b/drivers/media/platform/renesas/rcar-vin/rcar-core.c @@ -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 */ } }; -- 2.35.1