Received: by 2002:a05:6500:1b8f:b0:1fa:5c73:8e2d with SMTP id df15csp1180741lqb; Thu, 30 May 2024 02:44:37 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWv1o7JjzP8O4N86MDTXVp2HzQys2u+T1EtIPR5nz+fhUT+86xFrBIAOy74sufDPL6pLvfonFHkt1FvUrgpDefPvujHtKNYbIPeFuMElQ== X-Google-Smtp-Source: AGHT+IEEaRIRx0ISsnRF8lKyILC0hDrwPMBHakdAJHSPca2k6KkAglCW0poYk89eAZMLaxgx796I X-Received: by 2002:a05:6358:e496:b0:199:36c9:b3f with SMTP id e5c5f4694b2df-199b938e301mr200372455d.4.1717062277469; Thu, 30 May 2024 02:44:37 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717062277; cv=pass; d=google.com; s=arc-20160816; b=bUHfY9gl+QQlRsOTpMya33FcC15uFdsaVBUz4qank69eFGQzLDZ0sOh38sEogt6F8o mZnAn+P8Ll5E/ryyVnZLXqQJGZqB9Pli+d4BHCIbvDSQVx+v1N6hNeV31l5ZgiS0q2FC 6avqFVgM36XY0mpBEj92jcIzrkobVsQFU38ZXeG40tMhLhQS85fg4pnVRiAAbg1YiSGU NSkTWwGBdUmUI3gOkAWybKCq15aSRpRPH1GYpbgrtVzJ7ytiQdqg9nr7wzk9H/VcMv/z +gSsbk2oZghenx1rpwvzA0OQc/qCtaVva+/GjuePh2nFUWubIQHfGv/qDzkz3FRi3MxC +A8w== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=Znx7eYSZFkFa1tL47E1KVSN7IaQDi3w6fnIm7hPhxms=; fh=fWFkqWhkEWu3rFwNeYdXbOcQQfbvrHCRIs7r20HyHeE=; b=BQJr9tVRMdu2sM1/zgxO4C1eiqxddsv9HR/uBeU3ubu6EsfEMacwAexHiPhEoGZUIv tJnJJSgW9iuHsX+OjOgPLSUDzJIjwN8mUz8/1xIsaRyesAUQTfwuRbLYmuG4KH/70ADF 532uFc9MMboAbxYFUFfSAZgzdIXhZ3u4uHzUqJBLfDVhkgq1VZaNnRBWEy4wWIgjNPuF 2aZNlBcP1+5p4TonfigUR+hI7xuhjyXBsdzg9wbQWuOopIllTRZjd/OWaW3VCffm0iQW wSxtJDOUIV7gnEQguWNZ3Gcu9EzlXpV/d0mnpmozW2BBBs74ipOcl5G4ji24EcA12meI Bmnw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=FAQxa1Dp; arc=pass (i=1 spf=pass spfdomain=ti.com dkim=pass dkdomain=ti.com dmarc=pass fromdomain=ti.com); spf=pass (google.com: domain of linux-kernel+bounces-195195-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-195195-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id 41be03b00d2f7-68229d0d4c2si12355234a12.589.2024.05.30.02.44.36 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 30 May 2024 02:44:37 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-195195-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=FAQxa1Dp; arc=pass (i=1 spf=pass spfdomain=ti.com dkim=pass dkdomain=ti.com dmarc=pass fromdomain=ti.com); spf=pass (google.com: domain of linux-kernel+bounces-195195-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-195195-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id DC5E8B26D51 for ; Thu, 30 May 2024 09:37:17 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 2814F16936F; Thu, 30 May 2024 09:36:53 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=ti.com header.i=@ti.com header.b="FAQxa1Dp" Received: from fllv0016.ext.ti.com (fllv0016.ext.ti.com [198.47.19.142]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id D5A26153569 for ; Thu, 30 May 2024 09:36:50 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.47.19.142 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717061812; cv=none; b=BY9kYi2p/AUo7bBfXXFwUS2tLYwJptk34XFKVPDJ1paNmR/erFICWbmEeKI9LxtRyuOD0mQyYx7gdOsKXqakOnExNOFi95hvtZBhd9Ljl2zpogSD/GsLBJ4RcvYXChFJIgK6Tobm1vp9UFWL1l1DGTsErhvZgM+Epo0qprNS11w= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717061812; c=relaxed/simple; bh=XNj09AezLXWs1zX01XoumJbKbNXs5+1U+9TmMbfP+a4=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=kak6Agyn1HqYvxM1ftCzMS5RobSwweTdbNWf26ZfoUWZnlTOdnpi1BSETbM3gt9BuSoCxTFWrk7V/8BRr6F/UcTtkIC3xQLsUeMhPi/hcfUcuJm0Uq2oFxKTrJAuSh6I6gwVg7ME/W/hkClz+A+7JUllVZCSVUVa5zr88XqBp00= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=ti.com; spf=pass smtp.mailfrom=ti.com; dkim=pass (1024-bit key) header.d=ti.com header.i=@ti.com header.b=FAQxa1Dp; arc=none smtp.client-ip=198.47.19.142 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=ti.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=ti.com Received: from lelv0266.itg.ti.com ([10.180.67.225]) by fllv0016.ext.ti.com (8.15.2/8.15.2) with ESMTP id 44U9aOrc030964; Thu, 30 May 2024 04:36:24 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1717061784; bh=Znx7eYSZFkFa1tL47E1KVSN7IaQDi3w6fnIm7hPhxms=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=FAQxa1DpNHWhYnCnkM9CWWF3RxXvPZQZs5GlHVouDC5srz6tBFTWdVv7IThLPwGjj f3JkKYBWaaa6f6BSyIJdj/UDR6cPriahcc+xLi+Vzhs4ld9XDfN0mlcWJq2WUY3p55 W2ME4GZ5WLOZASvi2h9PbvJjr/vS47mUqRzO6Eqo= Received: from DFLE114.ent.ti.com (dfle114.ent.ti.com [10.64.6.35]) by lelv0266.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 44U9aOFm104017 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Thu, 30 May 2024 04:36:24 -0500 Received: from DFLE112.ent.ti.com (10.64.6.33) by DFLE114.ent.ti.com (10.64.6.35) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Thu, 30 May 2024 04:36:24 -0500 Received: from lelvsmtp6.itg.ti.com (10.180.75.249) by DFLE112.ent.ti.com (10.64.6.33) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23 via Frontend Transport; Thu, 30 May 2024 04:36:24 -0500 Received: from localhost (uda0496377.dhcp.ti.com [172.24.227.31]) by lelvsmtp6.itg.ti.com (8.15.2/8.15.2) with ESMTP id 44U9aNa1086231; Thu, 30 May 2024 04:36:24 -0500 From: Aradhya Bhatia To: Tomi Valkeinen , Andrzej Hajda , Neil Armstrong , Robert Foss , Laurent Pinchart , Jonas Karlman , Jernej Skrabec , Maarten Lankhorst , Maxime Ripard , Jyri Sarha , Thomas Zimmermann , David Airlie , Daniel Vetter CC: DRI Development List , Linux Kernel List , Sam Ravnborg , Thierry Reding , Kieran Bingham , Nishanth Menon , Vignesh Raghavendra , Praneeth Bajjuri , Udit Kumar , Devarsh Thakkar , Jayesh Choudhary , Jai Luthra , Aradhya Bhatia Subject: [PATCH v2 1/9] drm/bridge: cdns-dsi: Fix OF node pointer Date: Thu, 30 May 2024 15:06:13 +0530 Message-ID: <20240530093621.1925863-2-a-bhatia1@ti.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240530093621.1925863-1-a-bhatia1@ti.com> References: <20240530093621.1925863-1-a-bhatia1@ti.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Fix the OF node pointer passed to the of_drm_find_bridge() call to find the next bridge in the display chain. Fixes: e19233955d9e ("drm/bridge: Add Cadence DSI driver") Signed-off-by: Aradhya Bhatia --- drivers/gpu/drm/bridge/cadence/cdns-dsi-core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/bridge/cadence/cdns-dsi-core.c b/drivers/gpu/drm/bridge/cadence/cdns-dsi-core.c index 7457d38622b0..b016f2ba06bb 100644 --- a/drivers/gpu/drm/bridge/cadence/cdns-dsi-core.c +++ b/drivers/gpu/drm/bridge/cadence/cdns-dsi-core.c @@ -952,7 +952,7 @@ static int cdns_dsi_attach(struct mipi_dsi_host *host, bridge = drm_panel_bridge_add_typed(panel, DRM_MODE_CONNECTOR_DSI); } else { - bridge = of_drm_find_bridge(dev->dev.of_node); + bridge = of_drm_find_bridge(np); if (!bridge) bridge = ERR_PTR(-EINVAL); } -- 2.34.1