Received: by 2002:a05:6500:1b8f:b0:1fa:5c73:8e2d with SMTP id df15csp1334545lqb; Thu, 30 May 2024 07:25:13 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUjKwJp6KVnzmwNs94H3xMS+BKt/CjgHJOh7nXQOyCaz2/fitxXsTIyN1HYPu3a/bplJrILwqauZxVcNfUs8NPVap6m7ln92aEL9lnpUQ== X-Google-Smtp-Source: AGHT+IGZ88r7Ofya0lyBgpb7zxXZhnmSrEfudhCjaxNB2b7dQGeAJyfCTxW4T83ATmBoyf5rA3GK X-Received: by 2002:a05:6a20:7493:b0:1b1:fd1d:cc52 with SMTP id adf61e73a8af0-1b26466a773mr2253524637.54.1717079113152; Thu, 30 May 2024 07:25:13 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717079113; cv=pass; d=google.com; s=arc-20160816; b=Eb3Y/9ym2uhECr9QRfULT0dhhjD+8++l2ItBW/ES8Xi65iZkaOvloKzKPRy0KMahG4 cT4yUWdLVI7X6Ko4Usjp5QM0aTs2lk27oY+gGj30NAUVDP85Hknoa68ij+B9B0E5ards 2xI/JzUo6T9qkD6N7aNQfDNFC2gDCUCPw2hMCRdjbEiFasRaxX5PkCvi9cWYR4WeXqg+ 70WWd32WJ/V//ClXqj2WcbasbjOE4eiquPmy/Z82+o3/Hz8FQ5awfIpK2JyCuRDE7kyT 6JqR3pH/vPP0jSlJBLFGDf2h3JVjgTgX1Tb/P5zTd8rXXHG/M8JxdQbBoInDlZiHNN3P rUgw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=A05XxoAt0LbeaH967nkgJpVk8uAg3uaftb22v/uUOsU=; fh=nwUEq+acGqet0RIQ6eoHr3W1+oULGv4sGOLf+QkNwBc=; b=ug1zOmbYPQflF/p+otfaOVq2wxYSSOOr45rYgurpJQfZ/4oa2iOTMRoR0lM48ppFPk ygIa/4c4ZuUBV7tSn4tmoudzF+n4z5E9G/9RXyHxyP34lW/RnkBiKH9EaGRMO1o4IW+U uTfXoAVStpEJ+a6d8ORjflWWsugcxSuZ0vdxeTo4qFpiFsn+PFkJxDxVjg6I8AHUrEQ2 sZKBsRNBHzYEAEastNOPWA+5v36hGUnx6li4mWDKWTASW7m7MRLDcgBwNeL3VEzosEGL fqqWBSPdHWKjYsK42ikfFg2raEobdga5lSItIAgjo2zDeIVfBpGYoDe2vhqamUCW8dr8 tyEw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=RN2FEnIx; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-195513-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-195513-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id d2e1a72fcca58-6f8fd9dbc09si11816676b3a.339.2024.05.30.07.25.12 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 30 May 2024 07:25:13 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-195513-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=RN2FEnIx; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-195513-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-195513-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org 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 sv.mirrors.kernel.org (Postfix) with ESMTPS id C5937284599 for ; Thu, 30 May 2024 14:25:12 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id CEAAA17C20E; Thu, 30 May 2024 14:24:38 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="RN2FEnIx" Received: from mail-lf1-f45.google.com (mail-lf1-f45.google.com [209.85.167.45]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 3021C176257 for ; Thu, 30 May 2024 14:24:35 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.45 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717079077; cv=none; b=LfrAmYh7CMbRzS8XY0N3eFVRXQarfnH5SHINaC1UAu7lq+GHvm+iY/0BzLrxxVxKdrmBy34GMBtvXkxUW4AedRyIV3/cGqOvtwA4hEhUvnN/VDAepsCNWtLcpujNUIc6Ef/sgEKx3m6BCmyzN5bePQOUvAWtt7qvPykx+z6WXTg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717079077; c=relaxed/simple; bh=3E5LoxECipLvfS2AgwSGX6u07NVAc3OVyjKRraCxLtE=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=AwjF60o/3kKjtZ7R+7idyBBPCLrcYw+Y49bWp2Met1f10lXBfRTMl6zH6aXBy+r1eVxutmnkkgNGfoIX+03NqgGi5NgiUkny+/otoVopILw6hID9yRVPejYBgImTOFDYEysBC+dALsEbujn6NtzwwV79CQcSA3qI3CaHngN/owA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=RN2FEnIx; arc=none smtp.client-ip=209.85.167.45 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Received: by mail-lf1-f45.google.com with SMTP id 2adb3069b0e04-52b840a001dso137218e87.3 for ; Thu, 30 May 2024 07:24:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1717079074; x=1717683874; darn=vger.kernel.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=A05XxoAt0LbeaH967nkgJpVk8uAg3uaftb22v/uUOsU=; b=RN2FEnIx2dCUkcmviMo6oP/pL/0NYjmheUMJy4Pk8eqNqGZYMRt9ePp/biXLAu23wk xJazbOIvd17lVcZ7TaZJZ8vmQ7BxSR+q5K116QnF248hD7KCll4/CKCBLOkQytg7+QLs +RbRBocxqJg8UwamkAMRlRV9nA84/q2nU/o2OVDOJztmQAd7++dHVp9CKNS5BwL9m7nb 5fW/O3lQ9TU9uhNCnjkjaoiywfDaMPX/fueuW19NCf8Hr7qUwYrv3nZ9kBIqh1MKimnx EZLD0K3iXVQsJhmBa0YRS917azA/PVD/LPDl0MY1QUOhfr1kwgqDaw11+YEe+w+iYSVb UpLg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1717079074; x=1717683874; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=A05XxoAt0LbeaH967nkgJpVk8uAg3uaftb22v/uUOsU=; b=aNH/Qy+J6wgb/vOg/9zRa2C5kP+n4rPNcEQEo+DGJHp5ydsYHKH85vGFc7HpgHA2zk 29Ks503Aebn+na49HZFOU8AAw0cZxve104TMIYvCPnhwoR8CiZuYZIzuYejJvZlIGnp0 GTDlWu8jTHaWlR/CQGcE7u0moLrSzIV76J02pyNE3EBays2MwOsHlqgansMEWIP97bRJ dOrCF1ICE4SIQWzTuWGdyoZK75H1Z6Jit5veO7Fdpljl+1Ah7vGOK6gztkC282zKOd0f RHv77zf2FcqxL6PZ9GKGy3Xfh8jczSeBLYG8nEz29IcpQSH/Vjsdfzm1HvvAZom+25jG 97PA== X-Forwarded-Encrypted: i=1; AJvYcCV8xulrcDUktD9IJJfsEtJwKyyMzdj13KCvRvjcRzK0TP38mDsKujncrJc0TjQn3PqyHl+l7aagMiV6KZKHZe4jeg55CbR3FnXX6/Zn X-Gm-Message-State: AOJu0YzMIIzLIpkgIJQJTgsPBnekRYzjy9JIaWbc8h8Fr29QqQ0I5bJ3 P1G838NLKOCAmTuauFiv0OjLokzVzwj9sY695IABtSY5yq/z7nu9aywojnkwE0k= X-Received: by 2002:a19:381d:0:b0:52b:8419:db27 with SMTP id 2adb3069b0e04-52b8419db72mr77706e87.35.1717079072333; Thu, 30 May 2024 07:24:32 -0700 (PDT) Received: from eriador.lumag.spb.ru (dzdbxzyyyyyyyyyyyykxt-3.rev.dnainternet.fi. [2001:14ba:a0c3:3a00::227]) by smtp.gmail.com with ESMTPSA id 2adb3069b0e04-52970c3343esm1600677e87.214.2024.05.30.07.24.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 30 May 2024 07:24:31 -0700 (PDT) Date: Thu, 30 May 2024 17:24:30 +0300 From: Dmitry Baryshkov To: Aradhya Bhatia Cc: 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 , 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 Subject: Re: [PATCH v2 1/9] drm/bridge: cdns-dsi: Fix OF node pointer Message-ID: References: <20240530093621.1925863-1-a-bhatia1@ti.com> <20240530093621.1925863-2-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-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240530093621.1925863-2-a-bhatia1@ti.com> On Thu, May 30, 2024 at 03:06:13PM +0530, Aradhya Bhatia wrote: > Fix the OF node pointer passed to the of_drm_find_bridge() call to find > the next bridge in the display chain. Please describe why, not what. In other words, please describe why you have to pass np, no device's of_node. > > 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 > -- With best wishes Dmitry