Received: by 2002:a05:6500:1b8f:b0:1fa:5c73:8e2d with SMTP id df15csp473133lqb; Wed, 29 May 2024 00:50:20 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXmE55fDwQPQobv3i7EYXa9TXVuCYnjwAn+ZAOLxOZIlneXxU61osvvi4GO4thpFFuAvCscJSxIeHGrAU2/fci/uReCz56aBL5KP3Y33w== X-Google-Smtp-Source: AGHT+IFu6jk1AebQ3YKMruSzrFITgnZFF6r+bnfsmZjJfj3Lgt++/3CX0hK9IxZdq1qobxOVyJV7 X-Received: by 2002:a17:907:170c:b0:a59:efd3:9d with SMTP id a640c23a62f3a-a628cd3826amr874129266b.58.1716969020385; Wed, 29 May 2024 00:50:20 -0700 (PDT) Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id a640c23a62f3a-a62d36bf8b4si151175666b.907.2024.05.29.00.50.20 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 29 May 2024 00:50:20 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-193636-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b=V0gCcy5c; arc=fail (signature failed); spf=pass (google.com: domain of linux-kernel+bounces-193636-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-193636-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 am.mirrors.kernel.org (Postfix) with ESMTPS id E448D1F2B664 for ; Wed, 29 May 2024 07:50:19 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 55378168C03; Wed, 29 May 2024 07:50:13 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=nxp.com header.i=@nxp.com header.b="V0gCcy5c" Received: from EUR05-VI1-obe.outbound.protection.outlook.com (mail-vi1eur05on2063.outbound.protection.outlook.com [40.107.21.63]) (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 EB9FD167D80 for ; Wed, 29 May 2024 07:50:08 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.21.63 ARC-Seal:i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716969012; cv=fail; b=aYusST9QUrZoQsKsNgxr+3MkcMuGU5g7KhZPqjsIVJrY2tPpDFlBPm3RenCnxI6RLvHqYB8ZRVJw5+OfRFrTejNNeyDNoj5dFvMB/LWgUnyJCOuRMeyHqwmIx6YOZmbefA/YftLw2I4GAKdq0W/Vf8EaEGcQTHM8zu3RjWkMZnY= ARC-Message-Signature:i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716969012; c=relaxed/simple; bh=c2TtOgDqmaVfSLCDKTg1vOASxy616cmjfNDbhBSAIAg=; h=Message-ID:Date:Subject:To:Cc:References:From:In-Reply-To: Content-Type:MIME-Version; b=Lck/Eg9BQq9OUmU4IZud4u5Q6neHa2njwprE/l3OWzzyplOOWd5HMfHx38s4u+EYoEcKzXQ6xA4cM+fLIbNJ+bKtDt4jQXfy3qHkQymGCze15ZaUMc7xP+1QHMJagT/x79wxJu/EZWgc/hIXUwzrHQIA5vewT2SZYB7qIPpYlxU= 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=V0gCcy5c; arc=fail smtp.client-ip=40.107.21.63 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=TQZ6ssBJJ/g15dFd3aMMNhRonEyH1QugXXoJiJl+GWrnigTA4NPb8c1RqxEFejFzLlE4pVe7dnSnYhh0yURx1Y0ZbkuTpzzIC5/n501BoXZX8Nn2oD32EUHnHEp2ohzW0kLWpS5po03VK0C9YXkWXAQqslWvF6dvL6xqxyzXwbixir5bymXV5kEuk0GTW7yEXlw0najqMbTWQPhXVVlzUx6hZOsoedamFgxKMabkfKpYydARJQg7oj/jZGBw4BI8mSd5IQMsU9sLon7G+pMyaase+GQR34HxQj3u0vsRti1HnPCG24kbEt8evzdQa/FHfa4/rCGBmEVeIZddIVlDRA== 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=DX2bT2ktBb052nW/1EYGVTh3IoXr4ytTJwswDHLnATg=; b=AJ2r6DVeOIXpr22/RANmvTPHDS1JZhO7b8zQKkltYGh+x3zJMDGAeCz1DCdE+lpZlWcquAzk0PG20Pf89mwgesJkaFSgBcRPsXCnpOt4BJEqwJsLKdBNIHJcA0ESUwTbq7XmFTzldD+ffAmttUEL3uIEGNfuNfvVgU8aM7tA0UM9VuxkQjgq1/Lv6indAGH/iiWnVUrQhPsWStoWIiQkUDwHmPRj9Z4GacshEhK8Slj4EaCHXlYRBc3yAIoSCBQtIjmY9qCcbd4eJPs0q9XY5wpCsvozsBpjJa8nZ+4GGfj8dCmvzSJhEkV1YjdOAphCWWIA2tmnBUAZ7TNEcska+Q== 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=DX2bT2ktBb052nW/1EYGVTh3IoXr4ytTJwswDHLnATg=; b=V0gCcy5c/HTf0GWN/CWR5YIFduFKB5p2qf2aFUCZNVH2MH0yJOFWchfZTZJSLu+036YdGqGTKO0Hv/+keqpYMlT9SM8GDxpyyjy08/TxH4c8vVt67069MzCSfzoUXu6XYlvQ0HZbwB7fQsa3xoBY5sBczlUJYoqfSiWyKq3CRsI= 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 DBBPR04MB8025.eurprd04.prod.outlook.com (2603:10a6:10:1e4::24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7633.19; Wed, 29 May 2024 07:50:05 +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 07:50:05 +0000 Message-ID: <091f1d5c-0bff-4dcb-b823-b82989eac628@nxp.com> Date: Wed, 29 May 2024 15:50:24 +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> From: Liu Ying Content-Language: en-US In-Reply-To: <20240529065400.461633-1-alexander.stein@ew.tq-group.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-ClientProxiedBy: SI2PR06CA0002.apcprd06.prod.outlook.com (2603:1096:4:186::10) 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_|DBBPR04MB8025:EE_ X-MS-Office365-Filtering-Correlation-Id: bfd5537f-a34c-4c10-cfb6-08dc7fb3f476 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|1800799015|7416005|376005|366007|921011; X-Microsoft-Antispam-Message-Info: =?utf-8?B?Um1GeUtEb3Y2T0hGbzQ2NE0wVkwrSEc5QXVVMTNMZ0RwZngzUGJza3orQ3FI?= =?utf-8?B?b2docnBvRmt4VnBmSW5kTGhBSnNxUWtVVk8wQlJ2cGxRenpjREFLUnFOQmw5?= =?utf-8?B?OXIzYkpLSExaU3lnWThlbFd1clQ1dU5CRFFIT2FEYnZwZmRuZEdneTl0eHdI?= =?utf-8?B?UkxUZktUL0pmY3VVR2xucGQwdWxRTGxSQjRwZ01GS095L3JScTE5eXl6Ykpt?= =?utf-8?B?dDdCNzV4T2hCenRuNHdldUZUSHFUSTB6cHFTazRyYzdUdDFjSkpiaFRic2pF?= =?utf-8?B?Ymd4ZnlhQ0lqU1FGbndjV0FHM1M0Z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5vSjQwMUtyZnBzZDNkSlNOSmdoeU14TWhoUEJZTWVMeFJwQzdh?= =?utf-8?B?ckRVNGc5Ykwvbzd2Y3VTOTBtUDlieDY3N2RqUHF4MUttTC9jcUhMWEljRktM?= =?utf-8?B?ZzU1VCtsYVo1VDMyQXVYYkZibVdsUTFFODUzdnZkcWkwM0k3MEM3Wk4wcDRr?= =?utf-8?B?RVBlaGtVSnhxYUVGRlVUSVVOUTJsR1QvS3BKREtyUTg4WGdwNk5GOWZvVEdW?= =?utf-8?B?UTdFOGpYMDFMbjU3OW8xSGdic2R6aFphcUliYjZPVHRtem9tUDNUb3IvNDJP?= =?utf-8?B?OTNiczBBWE1Yanc2UXZyVFBDOTlpc0VZSnFrWlI1UFE3V3pRYXVVdThZYU14?= =?utf-8?B?MTkwVWRod3Z1OXl6T0h2aW1uRmFIcWZLb1Njc3A1anA0QkFwY3Q1em93a1lz?= =?utf-8?B?WTAyZzRTWkJRQTVJYjE4MzBJWGRsV04xaXZGM3BkUzR6c1BxZWdoQ1JDU0I1?= =?utf-8?B?OFhlblp1aWZ2RTdWLzRJbjQ0NTlQK0tYb3RXRTAwNHR1alNRWGN6L2NySlIx?= =?utf-8?Q?3P/2xJpEEK5GPKTJxJJl8RBIb1Mexdy3v20bypD?= 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)(1800799015)(7416005)(376005)(366007)(921011);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?RXJKUGFDaHFtWnBEWmdXdnJoMXo3S2tFRHJvSktONkFCa054VklCRlBxSWxP?= =?utf-8?B?VFVQZ1NBQU45L0RHbXdsK2dNcU5mQnJzZFFCNG85bGkrZmx2QW1SdXBDVTB3?= =?utf-8?B?TklHQS95RGExMHVn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tcGNzeXcwdTI2Q0Y1QVY5?= =?utf-8?B?T0NmSFluVlBacUd2TUJqNHZWT0NjQkZJbHBpcWdVQ1VRdFdZbjNQeWJhaEc0?= =?utf-8?B?Zkw5emhET0VIYVYrbk1TVUlxeDZpem82MHdFVGpSRnUzZ2NWMXVVdk9TUkMx?= =?utf-8?B?Z05iSnlHWURINDZqUS8yc3RVTmNVV1VsbXRSMjdEV0ZHbzV6RHRCdW1jM2Yy?= =?utf-8?Q?BZiMjzeptkkqHQQnIDlPLSx1x?= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: bfd5537f-a34c-4c10-cfb6-08dc7fb3f476 X-MS-Exchange-CrossTenant-AuthSource: AM7PR04MB7046.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 29 May 2024 07:50:05.8513 (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: 7Nv2dQ6VxDd7t4/lxcLXsFaoE+pXi8FS1KxfxFahwySCfBYbdv555NvAtGqfI6fxDxPhKaEQ0R9Cod00ShcL0Q== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DBBPR04MB8025 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? 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))