Message ID | 20230724063852.2666930-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 l16csp1614184vqg; Sun, 23 Jul 2023 23:53:23 -0700 (PDT) X-Google-Smtp-Source: APBJJlEIq8KxsKBQy4eADmJP8Dyz5TBQFrAey+yUUBJE9JiAAbKhOTMFDDGAitx4soU1JOcZrMgw X-Received: by 2002:a17:906:535b:b0:99b:61c0:cf9 with SMTP id j27-20020a170906535b00b0099b61c00cf9mr8626406ejo.33.1690181602961; Sun, 23 Jul 2023 23:53:22 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1690181602; cv=pass; d=google.com; s=arc-20160816; b=N8TXaMao4OSM/TgvpAlZrUCfwU1vJj3wu3QxwqGq6ohNxej8TXuTvtCf/wXIdAHV7k IWFBHIufD9Vg5tnVhFAHY0ZDdshkl+LHIUbng6jdIj71Oqhpvpp1+VwRN/GWFJLJgKSD YCAlvkEo/8gqrIT48LMBYGNyVvSZMbcyklmHNsgi6O9dCgq6VcjgLQOnooDJ7DTqMMaQ ftTdD3Tp/Td/DRnEkxxIZK2ItbZgZfWDXPC7/U0d+I9up0528FdPfLlvsg3S7y6f8Bu6 9dDiVndi+Kht5yrQjlSLfH3WBBJVRX/dZ4+1bZAYNfJSig7NnGayVYu7lV417hPeBOXS C8Tw== 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=ZfnWrsaFDExmS50ivkC9f9uIJF4ajsOKZe/zAUNc7SimDycjtQitI/05J4l5JKDGcx NwurDbCWweZKjzeeWrxBypLJr84A64wwqLkDazez6cfRHyN2FNNfz1R+kriNrO2pmGEc pHgQvRkneMa6flgwIQYHh/RmWpCVbuXh0gz2dSHbd/d6gBzIEDc8nOfIiwYpfEYHrJIr HrF3i2U0cZX8JIMP9u8dfeUIGZxZ03abMmoJwDPeCogjR3S0lDdadtk6JCdner0lhfS4 NMchv0jTXvFfqO4+Klk7+58sGcoXzUZ9mUavKgW9S5D+awSzQamwr8H9KlcArXC7TC+S jwFQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@NXP1.onmicrosoft.com header.s=selector2-NXP1-onmicrosoft-com header.b=izgOUfHg; 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 g8-20020a170906594800b009936f6d726fsi6250637ejr.169.2023.07.23.23.52.59; Sun, 23 Jul 2023 23:53:22 -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=izgOUfHg; 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 S230088AbjGXGe1 (ORCPT <rfc822;kloczko.tomasz@gmail.com> + 99 others); Mon, 24 Jul 2023 02:34:27 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58798 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229713AbjGXGeR (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Mon, 24 Jul 2023 02:34:17 -0400 Received: from EUR05-VI1-obe.outbound.protection.outlook.com (mail-vi1eur05on2047.outbound.protection.outlook.com [40.107.21.47]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CC26DE64 for <linux-kernel@vger.kernel.org>; Sun, 23 Jul 2023 23:34:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=SDgpRtPlNFOgDYIKWWqWvecBZCUTfmR53yiGc9ovv5P9ix4QOLKJGIE4sMNs/v1MTh8c8UL41aIK/X/r04MO/xzDH9iZ08Jd61iQRzsJlcLqypXkOOSyW7/9kT25/eHPAWc2iO57w3hftPqx2UF9tjmyYsRT/e9J+H017aZEZqsgZWUunCinb/w1M1a5jZGJM0CAwlGLDi7hi5bLLgPfLFkfcpll6GG4Vh//M3jMaUwXOB52RmTZXlB74OJIY9mtt0SnPvLlLQpm4Iz5OUKw8CjpQlHXMX8dgZ36QM3trL/kxmqmgSkfB+QLbv58xdUJtfysP/H3uu1p32g3LiYvww== 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=ikvLxliRN2IaHNZXGzyNrNc5rDqNOpor2ISnYRK3igD8FKUy6IaLfXqmhWfFzKMe8Rsc8Y6YiQkWW+d/uIk/3rhcU8b3WTLsQMfj3Y/+P8DogfF8Pzdbrkfp5XaUo6m2LcT7PfhSJkxR3esXVuNF96se+quCLkJsJN5n8doNi4Ux3GC9UBxwshol7Wi0iaWUeorc57+J9631ij9ZqAeUSziuXf6qYaBbU5F56ozwbv2GFORgknPs5rg2K+QH3MC9hxUXz+6Zau/xbW3FK5EHr8ir7bPuvBUVcyLhdrI2x81nXRTL/l6QsoBGOSfkgDjDYiCuxuac/OL9MGTwc6CnHg== 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=izgOUfHgZnsdqWzDzx8+0L+uwa+evhDRxY4aPIxWAWrLSeFJYmPwu6fn4/ouGDzLf/j1RR9Yq9FzEC8YPYUcED7m0VwvYBG5pRqCEZW6MOo8yAMFIftNn1C7MYYdx6x7AVH0H9kNx6Ayif22Pcwy80szQ0e6PGRk7A0aoL98hx0= 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 PAXPR04MB9092.eurprd04.prod.outlook.com (2603:10a6:102:22a::12) 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 06:34:09 +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 06:34:09 +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 V4 1/8] firmware: imx: scu: change init level to subsys_initcall_sync Date: Mon, 24 Jul 2023 14:38:45 +0800 Message-Id: <20230724063852.2666930-2-peng.fan@oss.nxp.com> X-Mailer: git-send-email 2.37.1 In-Reply-To: <20230724063852.2666930-1-peng.fan@oss.nxp.com> References: <20230724063852.2666930-1-peng.fan@oss.nxp.com> Content-Transfer-Encoding: 8bit Content-Type: text/plain X-ClientProxiedBy: SI2P153CA0010.APCP153.PROD.OUTLOOK.COM (2603:1096:4:140::13) 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_|PAXPR04MB9092:EE_ X-MS-Office365-Filtering-Correlation-Id: 02fb4307-6b68-40ee-09f0-08db8c0ffc5a 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: 0q5u5OOB0DvefITnEulbUU2r8DmCjW+bYA0g7TxpmvgqIXQDDWjz0NG4ThCtWXiYliAbOUYWnhMxvjlR2oVDYhiXJGf7Ug+2ER8+KoE4YJV7bBRoEdUt9Ll99rLsG7zEG7kbHckdUSyFjBlTE18ZVlMQuPcYy7KhcQA51oW5O+fl/UQDwvepF45xc9koATC+4FEdK8O5O8+ZfOJmrLp2366WMnzlfGJv/llirWT3LkHdFQASw9R9m3V+qdRpfAzXbbzckKyolW3Ch9rZaXRrvTO/fEm8GXyuIkPpTCRYS1kFm4PjYkCnAkY4aiWLZBXCZOADVKP/6BMSYDSBsxs5J8U+fWMX7Frqdw37QLVW9udHtZnlRMwAcIXhBAnLrDQPhTxDrhCzmI2VDVHGHSkW7rqmqQqtJlBoD2MpTUD32ovCnFlYnl9fCA9GqmCTCeS+jXF+ZBSQkc9mh+l+QOR6X3EzgnQK92tm/7LCsosR9E7tvPpio60vqzSmfrvE5gudF0Q7jAHcF/AVqHjMmpfDM/R5n6z0KHxwLE+ZleMpMu7wlqTk18/OjMD7TEJ8+cuMOeHV8orqU/xm09vKhonmVCUWtx/m3VkNXssaZ+e/qqwb9rH1GDf0LQOriS4a97vB 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)(39860400002)(376002)(346002)(396003)(366004)(136003)(451199021)(2906002)(38100700002)(478600001)(38350700002)(8676002)(6512007)(83380400001)(186003)(6506007)(26005)(2616005)(1076003)(5660300002)(86362001)(8936002)(4744005)(6666004)(6486002)(52116002)(66946007)(66476007)(66556008)(316002)(41300700001)(4326008);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: H99QoDBwCEnt0NM7tYRbg9mPhtAf/br7Jl+Nn1TkqfxpMFUSmxP9Oer9xkQHm0W3OENne3xBEwwnlQD5nSV7FRHQoSZqDWdyjjMmRRS8avRlmQZ1bpPUgxt19fPBO6nqfkXapBQwKFTDMbNmWzFtwMx2T6eeF6ehObm8kV4EfbkQhMJBFAIdjFWkwU6up6ImnilZokJcd4OzWttrcDg/bGhDjNsvrVpg5QasSTMt4Hu0lxMI0DfTZ4frN0OpGUkjyDw8t5k/PMLPyRN9Eh44T7Sd4r593AD0o83pp4g+QfBu/izjBmUho8GboAyUAPp2QGysnASo9q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DwnNFYXLP35jyX1BUMIb6qh/NSfj2dS9DxUSL/TlKe8NG4iBx1669PMFPYaA8ix6fe4xOC7LMQ2dG7liZfpQHOvbFPbpz0ABVbQDo/q7QRg5FGNdNxTylbd22bggsMm7+kefR+dpLqTLF0pudYQzBvkQA9zXNjoX64go/4LWKioTVGHMg+getX/6khb6lU3g X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 02fb4307-6b68-40ee-09f0-08db8c0ffc5a X-MS-Exchange-CrossTenant-AuthSource: DU0PR04MB9417.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 24 Jul 2023 06:34:09.2661 (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: Sqy1fRduoIQkrqVhNvkCIvKDcC0Fu09YlWWgHSIviRSrCRCnKZ6zWntxkXwxxtRxXnHG/e0hMLXoVLR89sLeIw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PAXPR04MB9092 X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,SPF_PASS, T_SCC_BODY_TEXT_LINE 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: 1772283864876761823 X-GMAIL-MSGID: 1772283864876761823 |
Series |
firmware: imx: scu/scu-irq: misc update
|
|
Commit Message
Peng Fan (OSS)
July 24, 2023, 6:38 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");