Received: by 2002:a05:6500:1b8f:b0:1fa:5c73:8e2d with SMTP id df15csp501509lqb; Wed, 29 May 2024 02:04:08 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWKZgkhVozl+PAgShdhr2AHyKMs2XaV3oFbpJN3TOwN/sepXIufzNoSJlGTwlzKAVkPlP5xuDXVuYPldztAfOecdsHn0CjviXiWkvoxOw== X-Google-Smtp-Source: AGHT+IFaxRexiVeA3q38n0vaiEdN4dLO/z0ezuF+RF/QkbLU8tdson4B76G1JIcR+uTDybN/iyWz X-Received: by 2002:a05:6870:a79a:b0:24c:5e17:b9fe with SMTP id 586e51a60fabf-24ca13dd32emr15589028fac.39.1716973448282; Wed, 29 May 2024 02:04:08 -0700 (PDT) Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id d2e1a72fcca58-701e49b7c49si2264077b3a.145.2024.05.29.02.04.07 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 29 May 2024 02:04:08 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-193755-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b=F7CKCbKz; arc=fail (signature failed); spf=pass (google.com: domain of linux-kernel+bounces-193755-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-193755-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nxp.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 D213FB271A2 for ; Wed, 29 May 2024 08:36:53 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 43CEA16DEA8; Wed, 29 May 2024 08:32:20 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=nxp.com header.i=@nxp.com header.b="F7CKCbKz" Received: from EUR03-AM7-obe.outbound.protection.outlook.com (mail-am7eur03on2054.outbound.protection.outlook.com [40.107.105.54]) (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 8C1C216A380 for ; Wed, 29 May 2024 08:32:16 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.105.54 ARC-Seal:i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716971539; cv=fail; b=uaFB/pgJRCvImOGwJFextY8HG+C1buvvecmZq0TYMC/S7r6G0wNqGBr3JpZbUeWaBkg1AdsDU/gRpJHPaVDQBqPOaTKDfSdn0CltGs3HBZcwi0aET7GcowrOgkk6xiIcG1/H07tS2hkQDe/VgtdUUjaKpn7rGSp5uo37PkfEn2s= ARC-Message-Signature:i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716971539; c=relaxed/simple; bh=BpKo+8+14sI4RP4UCu7zDVsF/kSRHczDKbjNNOGA3hE=; h=Message-ID:Date:Subject:To:Cc:References:From:In-Reply-To: Content-Type:MIME-Version; b=aa8HbDD4SJvcNm+qHsLbgK6kJORPq3uUD/9piVYU7G2OEXhoaNpADAmBkR1+GCZhxBrJROqzLYanFdoeZ2WRcRJIcgBYfOGVYr35wlPG2TkTN3/J58Y141n+W1HnKBkWQGuB7CTjFidB+WtMExctywUcHurYApS1ybH4EpzmZzU= ARC-Authentication-Results:i=2; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=nxp.com; spf=pass smtp.mailfrom=nxp.com; dkim=pass (1024-bit key) header.d=nxp.com header.i=@nxp.com header.b=F7CKCbKz; arc=fail smtp.client-ip=40.107.105.54 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=nxp.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=nxp.com ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=FtKQeF2rL8DboGoP/F/zxr9EisMKqg7YxXZWA6851rwdqt4ffqP5qgdPxBbkDeqE0UipUUTyFVuVo1NZNdhzME9jH1G8M8WZaXA6tAsNz42o2EkjicNtPsBzAbzCv2SsXwSiXKgJIS+oRWJUxXg0pfj2v/gMFdMk5ZiMhgTUinh2X/UfEXxwsLyZ7/re9zoykUGGFIus/hUsIWIoCihNiTsCg7WP1KWOpZZYxty6pr++jM00ZY/xPxwN75tpz/3PzObZxNZX0lb2NpxxuragDpoeNdHiVJ+i3WwgA8BLxKkQlDG2O9UrdOD/suijv1Ian+/wa4nRebalLgJAFyPzlQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=jEQCEyNLHr2CFfUmjjBnn+Zmv894QYFViBKWTShijz0=; b=J8hh7Iu0WEArl34XKf9F/OlfirIeoKQp9NG7GF3NMoGzwHsP/2rdcSm2NCWEeB04L21yO5/rL3GXi7o4EiECCfNBNwNLBiZAAvlqXCrteydaeCIu4NVEXZzoS+fl+lcs49kYwBzA0MCziKY6EUCk4Xh2n9Xz8lZ9fIr5apLwb/OsbDiTYyk3uqzaFuUYNZ3iW0GY9cDlYxUI/l5PWg+Dd5eB+eEb09ooSISH82BeJg/FgxkWbDGv1OdhuBA+t9uTmLvt5QNm7wOLQCzHGjSEJKjfePbzjeT0AJT+E6nz0G9ftf356nGy77zwOfLlDiMsHFIMA20WLeQ6TAN5/8bCbw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nxp.com; dmarc=pass action=none header.from=nxp.com; dkim=pass header.d=nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=jEQCEyNLHr2CFfUmjjBnn+Zmv894QYFViBKWTShijz0=; b=F7CKCbKzbuoKK1UdQwdnAyB3biSdpp89OeXfHGN5pGvSkxSOH9+hfrQyFd/fisi25weYEZAaDjgPtKqZWM+vuy90SaK0E5Y9dNxDujL5d/hUW42Y3WBObIRPGz7a4szmRCAcjQMo4lUJtRZfPcaQgD2tB/Y3zQkLPLg68XoxXKM= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nxp.com; Received: from AM7PR04MB7046.eurprd04.prod.outlook.com (2603:10a6:20b:113::22) by AM9PR04MB7538.eurprd04.prod.outlook.com (2603:10a6:20b:2d8::5) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7611.19; Wed, 29 May 2024 08:32:13 +0000 Received: from AM7PR04MB7046.eurprd04.prod.outlook.com ([fe80::d1ce:ea15:6648:6f90]) by AM7PR04MB7046.eurprd04.prod.outlook.com ([fe80::d1ce:ea15:6648:6f90%6]) with mapi id 15.20.7611.030; Wed, 29 May 2024 08:32:13 +0000 Message-ID: Date: Wed, 29 May 2024 16:32:31 +0800 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v2 1/1] drm/bridge: imx93-mipi-dsi: Use dev_err_probe To: Alexander Stein , Andrzej Hajda , Neil Armstrong , Robert Foss , Laurent Pinchart , Jonas Karlman , Jernej Skrabec , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , David Airlie , Daniel Vetter , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam Cc: dri-devel@lists.freedesktop.org, imx@lists.linux.dev, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org References: <20240529065400.461633-1-alexander.stein@ew.tq-group.com> <091f1d5c-0bff-4dcb-b823-b82989eac628@nxp.com> <6130653.lOV4Wx5bFT@steina-w> From: Liu Ying Content-Language: en-US In-Reply-To: <6130653.lOV4Wx5bFT@steina-w> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-ClientProxiedBy: SG2PR06CA0181.apcprd06.prod.outlook.com (2603:1096:4:1::13) To AM7PR04MB7046.eurprd04.prod.outlook.com (2603:10a6:20b:113::22) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: AM7PR04MB7046:EE_|AM9PR04MB7538:EE_ X-MS-Office365-Filtering-Correlation-Id: 21a0f475-ce64-454f-2f4d-08dc7fb9d6fa X-LD-Processed: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635,ExtAddr X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230031|376005|7416005|366007|1800799015|921011; X-Microsoft-Antispam-Message-Info: =?utf-8?B?L015Zks3Y1pxSEZmOXRsdjZOZll6aEpPcWV5UTVkSFprOTM3MHBnblpHN3pZ?= =?utf-8?B?ckJST3lZOFc0UDhNaUErMGtmZ1NhdC9xMTBjR1k3UWlSQ3k1VjU4RmpaMjZa?= =?utf-8?B?bFE0aENrR0tQTGxTRnBjS2ZkSGN1ZTZLakVOWlhOUXpHdE1IQU5kVXhuV1dB?= =?utf-8?B?MXk2VGpCU2p4U2V4YUtCaldSb29BRzQ2VDFYN3NVS2c1TFlPV2JnaEMwbWJL?= =?utf-8?B?Nmp0OWppT3V5K081TDgyVVZNSFB0RHB1ZmFEa1Jpb0d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MktZMWd2RVhrYmZSNWN4VnorU05EUTdQYXBB?= =?utf-8?B?a3h1OEdrdU1WU3BQc3pGYkVkcHdoeE90Q1I4RnNSOUQrZ1R1WE9hUHZKRFB1?= =?utf-8?B?MDVpYnIzNlJoUVlVekV2VXAxdlJldlMwaURXWnBVb0VuMmltY1BVc01JbzFk?= =?utf-8?B?WGE2WHM1Qlpad3V0TjcrVTZXUDhFbkphaGpOaFhRaEZsNGZnZFJ5TE1PZkEw?= =?utf-8?B?Mk94TC9wT0RINW5vTkhqUGNYMzZjVkV6VVNFd2tPM0NEeFc0c1hSQk5ON3Rm?= =?utf-8?B?ZUZxem1IaFBweFNqUUdPS1F6dkJaSTBwT0U2dEtTY3IwQ0FhNU4yY011b3Zl?= =?utf-8?B?RkVWcTBld0hhWExGREZjL3BWYjlxeFJDbzA0KzFicFJSd2h5WHYvdmNEVytL?= =?utf-8?B?VjMxaXFXMDBXTVRrSjRacTBXZUZDNmJYQUJpQS9DZzFaUXB3QmI3T0toNW1O?= =?utf-8?B?dk1rN1dmbkdNQ3NPUmNHR3B2NTYvUmV5Y1A0di84clR3MmNBUFp6RlpaR3lS?= =?utf-8?B?Zk1lYTQzMWhoU3JZMFZDelErS2p2UEIwaE55K2Nrai90enlmWk1jaE9sWVlh?= =?utf-8?Q?BGmiPXdS0WoMDh2drRlvN7lm6d3nO0TrNUTKWqr?= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:AM7PR04MB7046.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230031)(376005)(7416005)(366007)(1800799015)(921011);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?bHQ0MkZVS2dLMW5neERIUGI1YUxiNnhsWWVFRE9jUWl5eXBScDJBUjFHLzht?= =?utf-8?B?ZU1wMVUzb25qb2hKNzAyUEdldldIZGo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pqSHFWOVpPYnZKcTMvd1dDcHo1aGFyT05jdUc1M01oMWI0TktMZFlTZW0w?= =?utf-8?B?alRETGJ4Y3FYZ0R6b3h4MUtHdFhvSzhzQmN5SzBjM0h3azNFTTRZZHgxbCtl?= =?utf-8?B?VlVaUlplU1V1LzFjUmswN0g3N0FoVm9rM3JSbGgzOElUMkh0RThVU1NpUmdS?= =?utf-8?B?V0dVVjBxMmllcjFubC8rWjRaSlB4N1d1UlFZUnNXSEpML1pPVDBIOCtTV0Zy?= =?utf-8?Q?xOF6z2Um9wkhGydwCkSI+N6iW?= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 21a0f475-ce64-454f-2f4d-08dc7fb9d6fa X-MS-Exchange-CrossTenant-AuthSource: AM7PR04MB7046.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 29 May 2024 08:32:13.5270 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: hhyww07zR830reUlA4WYcs35HUaMr1eUf8vU2vIkrK6p4+TAc90rZ3i5Sdca7amkyjQiDoOR8+oA5iU3aKKSOw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM9PR04MB7538 On 05/29/2024, Alexander Stein wrote: > Hi, > > Am Mittwoch, 29. Mai 2024, 09:50:24 CEST schrieb Liu Ying: >> On 05/29/2024, Alexander Stein wrote: >>> Although very unlike to occur (media_blk_ctrl needs 'syscon' compatible >>> removed), it lines up with the other error paths in probe function. >> >> Why media_blk_ctrl needs 'syscon' compatible removed? > > No, it does not. As media_blk_ctrl is also used as power-domain the device > will not even be probed if media_blk_ctrl is not available. > I just mentioned it under which conditions this error path could happen. The error path you mentioned returns ERR_PTR(-EINVAL) which doesn't make sense to use dev_err_probe. ERR_PTR(-EPROBE_DEFER) is the one in question. > > Best regards, > Alexander > >> device_node_get_regmap may return error pointer other than >> ERR_PTR(-EPROBE_DEFER), like ERR_PTR(-ENOMEM). >> >> struct regmap *syscon_node_to_regmap(struct device_node *np) >> { >> if (!of_device_is_compatible(np, "syscon")) >> return ERR_PTR(-EINVAL); >> >> return device_node_get_regmap(np, true); >> } >> EXPORT_SYMBOL_GPL(syscon_node_to_regmap); >> >> Regard, >> Liu Ying >> >>> >>> Signed-off-by: Alexander Stein >>> --- >>> Changes in v2: >>> * Removed unused variable >>> * Added missing \n at end of string >>> >>> drivers/gpu/drm/bridge/imx/imx93-mipi-dsi.c | 9 +++------ >>> 1 file changed, 3 insertions(+), 6 deletions(-) >>> >>> diff --git a/drivers/gpu/drm/bridge/imx/imx93-mipi-dsi.c b/drivers/gpu/drm/bridge/imx/imx93-mipi-dsi.c >>> index 2347f8dd632f9..13025f47f3902 100644 >>> --- a/drivers/gpu/drm/bridge/imx/imx93-mipi-dsi.c >>> +++ b/drivers/gpu/drm/bridge/imx/imx93-mipi-dsi.c >>> @@ -834,18 +834,15 @@ static int imx93_dsi_probe(struct platform_device *pdev) >>> struct device *dev = &pdev->dev; >>> struct device_node *np = dev->of_node; >>> struct imx93_dsi *dsi; >>> - int ret; >>> >>> dsi = devm_kzalloc(dev, sizeof(*dsi), GFP_KERNEL); >>> if (!dsi) >>> return -ENOMEM; >>> >>> dsi->regmap = syscon_regmap_lookup_by_phandle(np, "fsl,media-blk-ctrl"); >>> - if (IS_ERR(dsi->regmap)) { >>> - ret = PTR_ERR(dsi->regmap); >>> - dev_err(dev, "failed to get block ctrl regmap: %d\n", ret); >>> - return ret; >>> - } >>> + if (IS_ERR(dsi->regmap)) >>> + return dev_err_probe(dev, PTR_ERR(dsi->regmap), >>> + "failed to get block ctrl regmap\n"); >>> >>> dsi->clk_pixel = devm_clk_get(dev, "pix"); >>> if (IS_ERR(dsi->clk_pixel)) >> >> > > -- Regards, Liu Ying