Message ID | 20230724014711.2048958-2-peng.fan@oss.nxp.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:9010:0:b0:3e4:2afc:c1 with SMTP id l16csp1528783vqg; Sun, 23 Jul 2023 19:31:38 -0700 (PDT) X-Google-Smtp-Source: APBJJlGm8FgtTirlED5v3cIVICDZ1zcwBksdxUUOKYY8pH8xVn3paexIbxa4DgPaRW4JiwXsw/6x X-Received: by 2002:a05:6808:1413:b0:3a2:62f3:c2d0 with SMTP id w19-20020a056808141300b003a262f3c2d0mr9502037oiv.24.1690165897840; Sun, 23 Jul 2023 19:31:37 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1690165897; cv=pass; d=google.com; s=arc-20160816; b=nJaENG9A0OiBs4ZPZPA49A6WHtvx4xT1Ut5TwJ4P4ETqtDwumwuJGFRgwf7npoqe19 Sb1Nn263NOkBmwuJesEP1Tp+VKjvqDrYTA2h2Jg56CeM+bcWFVU4pRKOmSWs86EnFSdV vO4tIvx8hUb5nlhOIY+c3CjRoOd+FFQN3WO17Zrw6MBCtT9cc5OEBCKjti2y0LKnUQuG zxz2VEpbRqfcE0P9K91latyY/kD+XZgUb0u2xFjprzWx0mCMxQhydI55hjDzD4zHT+f2 h/9jgzaf6NL+mkt3BASNHzK12QsUVTxhGBv997K8ezLRr8IM87glaPuEBXZXKWF8ZSIk 1t2w== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=9eXsJHj1jKik5zS42sb9oDfVAHK3/hCH/diRSXT4zP4=; fh=lMFpnJZCjkSvetl9tpFZk4oM1K582D2CBXvvYFGhgSk=; b=hC+AnC8y44J+yQwc1sGvfgPI/0r7+guzYn4Hp7GroufHqMYFAmBoDSSF9+mR0gNjg8 OO1/jAqV/TpD8GjxMYb/k5ns8uvJHSuPsmulL9l4qp0lRJV5cn30Jgi78EdeeRZxRYMB hyRnC1uVaqzWOvkHufLLnNX5T3jKYxoRjcVJQ3yZd/0qSm9DwaIFXHlM/YZhlQBwejZH cLAO7fI6kE/BUNf+9h2pHmaHq/ewcmzHUj194C0mWPcS2MBzHe87qq3FSY4w7QU7ul45 sq7iWpHuEfRvxRlp5RUTkk9rCWoi/3/s4Z+3Ns74VroJ93OzE8jsux3v7xgG0oiHupRp r3ug== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@NXP1.onmicrosoft.com header.s=selector2-NXP1-onmicrosoft-com header.b=YdHcsnoU; arc=pass (i=1 spf=pass spfdomain=oss.nxp.com dkim=pass dkdomain=oss.nxp.com dmarc=pass fromdomain=oss.nxp.com); 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=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id v24-20020a63f218000000b0055b1327cd9asi8087087pgh.175.2023.07.23.19.31.23; Sun, 23 Jul 2023 19:31:37 -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=@NXP1.onmicrosoft.com header.s=selector2-NXP1-onmicrosoft-com header.b=YdHcsnoU; arc=pass (i=1 spf=pass spfdomain=oss.nxp.com dkim=pass dkdomain=oss.nxp.com dmarc=pass fromdomain=oss.nxp.com); 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=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231276AbjGXCJ1 (ORCPT <rfc822;kautuk.consul.80@gmail.com> + 99 others); Sun, 23 Jul 2023 22:09:27 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45524 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233004AbjGXCIo (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Sun, 23 Jul 2023 22:08:44 -0400 Received: from EUR01-HE1-obe.outbound.protection.outlook.com (mail-he1eur01on0629.outbound.protection.outlook.com [IPv6:2a01:111:f400:fe1e::629]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7A5D57D98 for <linux-kernel@vger.kernel.org>; Sun, 23 Jul 2023 19:03:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=HU+COSLD4RYsG6aMQTDIjX8kvWa0ZOhioOOSiDkLmqDFK9apP/1MBgYj1CsXPWAcjpIow2A09Nx8SqlYZ3FJ2l6mGK+MtpcV65iC9EB2p/tJOLlT3UMQlwSm2HI4l1p9GJgEK5xtuSL+ILd4Fdcb9gU6Ale6plCMcrjaSwRN/gqHP1oMO0R9DRguTKYGjY4YbNhkXe+5nEyRV5946tLgP58tJZXbkalcgy/luPN3qLyyHjUfNKC1MvKDWHqwZfNTuATcd5XbbSSTiyjq0xVFG7lSYkctVPISM47wXwczLF0VoBpwVpJUSvNtBY/1pO8v/QdkTcyup5ewwTNRh379EQ== 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=9eXsJHj1jKik5zS42sb9oDfVAHK3/hCH/diRSXT4zP4=; b=N11ygMynKkmjeJifHtiBvpU0c7AKGBc14d0/vyGHdi3K0+kceeSjtQVOxC+ivM3dUVKQvuntI4PCMYpbqcTLvL4fudn7DOUyb0UdwcTcrSHOiWaO11g6lUNxdlWuH9KxaD9HrS33dkH64wQel0d9ahp0r/jMghDXdUdmPHp8zy1CQDZOz/ftKQ6MRkWfGk6xOV7mQy23Mw9lmxNV1XUKzH68rtjN7wSbCqVcmJ9E8McUzq/a0AI/LZj3oc1w2y6fsKw3+8N3BZpm4aCwZmFWURRXsozlj6xdr2iqtQADD+vPpRHP1oKp3GtaYMUIKULtGdHGQq3H8aAEs5Pd7YziDg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=oss.nxp.com; dmarc=pass action=none header.from=oss.nxp.com; dkim=pass header.d=oss.nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=NXP1.onmicrosoft.com; s=selector2-NXP1-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=9eXsJHj1jKik5zS42sb9oDfVAHK3/hCH/diRSXT4zP4=; b=YdHcsnoU+EYIWb0/PrHnqBC3liyHT/WVQ+v+qhoXG9ibGHf/803BFB5xB4Uni/JvBsrG/UvdLRQc8jeEVfVmLK8VsL+9JlCd1Md49CMSnEDK66SaPizsGUOpBREfIGLym1jtoOV6+HoyMWDwQK0ZN9bLiWrLIfAj2W2IWu7mUkw= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=oss.nxp.com; Received: from DU0PR04MB9417.eurprd04.prod.outlook.com (2603:10a6:10:358::11) by PAXPR04MB8797.eurprd04.prod.outlook.com (2603:10a6:102:20c::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6609.31; Mon, 24 Jul 2023 01:42:31 +0000 Received: from DU0PR04MB9417.eurprd04.prod.outlook.com ([fe80::5d6a:ec53:f2a8:5b97]) by DU0PR04MB9417.eurprd04.prod.outlook.com ([fe80::5d6a:ec53:f2a8:5b97%6]) with mapi id 15.20.6609.032; Mon, 24 Jul 2023 01:42:31 +0000 From: "Peng Fan (OSS)" <peng.fan@oss.nxp.com> To: shawnguo@kernel.org, s.hauer@pengutronix.de Cc: kernel@pengutronix.de, festevam@gmail.com, linux-imx@nxp.com, aisheng.dong@nxp.com, alexander.stein@ew.tq-group.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Peng Fan <peng.fan@nxp.com> Subject: [PATCH V3 1/8] firmware: imx: scu: change init level to subsys_initcall_sync Date: Mon, 24 Jul 2023 09:47:02 +0800 Message-Id: <20230724014711.2048958-2-peng.fan@oss.nxp.com> X-Mailer: git-send-email 2.37.1 In-Reply-To: <20230724014711.2048958-1-peng.fan@oss.nxp.com> References: <20230724014711.2048958-1-peng.fan@oss.nxp.com> Content-Transfer-Encoding: 8bit Content-Type: text/plain X-ClientProxiedBy: SI2PR02CA0021.apcprd02.prod.outlook.com (2603:1096:4:195::10) To DU0PR04MB9417.eurprd04.prod.outlook.com (2603:10a6:10:358::11) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DU0PR04MB9417:EE_|PAXPR04MB8797:EE_ X-MS-Office365-Filtering-Correlation-Id: 01512a0c-460c-4dd5-3335-08db8be73ec3 X-MS-Exchange-SharedMailbox-RoutingAgent-Processed: True X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 33xNPzL/Y9DtwbRQC5mR4deg3yjJL2FN54hW0aRFk4YSMUo/xKDjVMnsqlufLrKwpx3ys0WIJ+5jSXjsG2ZdKo3ZB9aXdk9g6lQzLNPqbZQbonvqr8epAQJvs3BWU1Xxp7HJjcrQ5RsUMiCyCQTljFnE0Dgt/AsfHLBJZnDy3yqfV9kq8dfB/0I9n4iyzggBmlge4owfMzLR/N3SfCuQ2CJqulwgOhps5l2aF8DGg71rnc2YcFdSAKlSnwBv3/BAAWhzYKCs6oD27/Ac5B6pSi6c5PYdelz3nR0zaQiUz2PC5h86KHUCVxcd4Febiftzzkl6tuD1myh9xFbd5hp/7zDM2dTe6SMg4WRLfzmCCMhl1jOy06o4wJ5H91ycNJNuuPpmkYKeSSWVclbf+efBqHOCZIHtwx/UEwsYIwngdcKMhuTIDjzNxRACCA81MnvO+UlGS3X5d6FNTgTaHrJ59+4no/B8NDatPVaqTfWIXqwEV1awNYmMZWV2BscDnmApXI2g2Pkrd0CZoVL4yGOQSrxXz0HmWaIS+hK9gPZGjr5u6TLV1o3QLQueeD6dnk7AWnFN5slkqQRKQUOtgpMJlwuYeEKYcZakn4QNMMT96tr6J6Y53sWw9ISQxBUE/QgK X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DU0PR04MB9417.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230028)(4636009)(366004)(136003)(39860400002)(396003)(346002)(376002)(451199021)(83380400001)(38350700002)(38100700002)(86362001)(4744005)(478600001)(2906002)(1076003)(186003)(26005)(6506007)(6666004)(6512007)(6486002)(52116002)(8936002)(5660300002)(8676002)(316002)(41300700001)(66946007)(66476007)(66556008)(4326008)(2616005);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: t2GH/lRdYKp62iJV7M8ciZ5xZ2gvR1UKCBRwGLHKsY9psjzn6mrMaiJtJIDYJCpjsjTYRHPa+ZjYlGl82lemuDcI25Xqu2igrCJiqNvZ9gysC1Raz7yOAGW8OFb4Zbj9iE1CPEUydxPPTIw0dVqhytvj4jYAhDGHAiSPiy3DvwnDBo85Ew5qMYe/dTyGJ4ljRDG4Dkc6r0u6kpdqhBceSb9lJrM3SAa4+sujHJSD7JtDZrunpQYU5ezUAkPEIHalNICDD8EOYalMh5GGqwAXAb6iwp2bzU3lmTsE6oA2Y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zN04/lfm8sFWD3nMm54gDSgiDV7cci4c9l/AzdP4Eva6adF8ACk+mRMiSffi9Z5SleFJfGfDDRxVoXpGWADh6DzbsflYsKHJLmrcWV1dLjI486v1gNPiA+xM/ahPnKIA7O0lC9U7BIhRiCc6lDUTmpubddVzDuhg/QVIOTGg/9INVbaT1B5HmQ9qAV0xEEpdlYFjPQYc37KkXv90+hcl X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 01512a0c-460c-4dd5-3335-08db8be73ec3 X-MS-Exchange-CrossTenant-AuthSource: DU0PR04MB9417.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 24 Jul 2023 01:42:31.2971 (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: 7I/pseSZafhsHrFPeHjHUYlYUXapksQbRwnQ/UyqXEVJC8VoswruWNMz6eIA+4T41j20ADc3vpl6mX2oY8dgSQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PAXPR04MB8797 X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,FORGED_SPF_HELO,SPF_HELO_PASS,T_SCC_BODY_TEXT_LINE, T_SPF_PERMERROR 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: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1772267396827713827 X-GMAIL-MSGID: 1772267396827713827 |
Series |
firmware: imx: scu/scu-irq: misc update
|
|
Commit Message
Peng Fan (OSS)
July 24, 2023, 1:47 a.m. UTC
From: Dong Aisheng <aisheng.dong@nxp.com> Change firmware init level to subsys_initcall_sync to ensure it's probed before most devices to avoid unnecessary defer probe. Signed-off-by: Dong Aisheng <aisheng.dong@nxp.com> Signed-off-by: Peng Fan <peng.fan@nxp.com> --- drivers/firmware/imx/imx-scu.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/drivers/firmware/imx/imx-scu.c b/drivers/firmware/imx/imx-scu.c index 47db49911e7b..2d24359420d8 100644 --- a/drivers/firmware/imx/imx-scu.c +++ b/drivers/firmware/imx/imx-scu.c @@ -353,7 +353,12 @@ static struct platform_driver imx_scu_driver = { }, .probe = imx_scu_probe, }; -builtin_platform_driver(imx_scu_driver); + +static int __init imx_scu_driver_init(void) +{ + return platform_driver_register(&imx_scu_driver); +} +subsys_initcall_sync(imx_scu_driver_init); MODULE_AUTHOR("Dong Aisheng <aisheng.dong@nxp.com>"); MODULE_DESCRIPTION("IMX SCU firmware protocol driver");