Message ID | 20240729074709.2293935-1-peng.fan@oss.nxp.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org> X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 13905C3DA61 for <linux-arm-kernel@archiver.kernel.org>; Mon, 29 Jul 2024 07:39:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:MIME-Version:Content-Type: Content-Transfer-Encoding:Message-Id:Date:Subject:Cc:To:From:Reply-To: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Owner; bh=mlWLNdaxiVLj+jo6z8oPvLsrRO9t1OFmgrzytngQcJ4=; b=AzxlTN7OKt6GijkG1J4KM/Renc atg1CpSPSfBN/xDCPlMrO9Ja63aSiHwGxvC+QNXteYYE/mg6FaMGPRsder/SvVi/EXTIOj60U5e8f MoM/h49Z/jWPSHk7PprHHqGV0S+VGj7B2HYqPbBaJr4CtoR8hpJlm8TmxFWNFzl3zgXtOXn0m8o47 N1PUcv/2t3cZzxySs6/IkDFxuQ4vFxO27/FKdOERo0shP+LkltxRKDhAUU2dKa+PdcdaJm3+F0wB5 2+3GL/AA/mbbH0rFsivSsF3j4fyXfsdNSKr3Iy3s42pui5rM+ptVBqY3IyLvuSq769xeDS0uVAsPv wD7BVGJw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sYKyY-0000000ANck-2NOk; Mon, 29 Jul 2024 07:39:22 +0000 Received: from mail-northeuropeazlp170110001.outbound.protection.outlook.com ([2a01:111:f403:c200::1] helo=DB3PR0202CU003.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sYKxb-0000000ANR5-2Gz9 for linux-arm-kernel@lists.infradead.org; Mon, 29 Jul 2024 07:38:24 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=WLhdc0kau7ruCYJ3h0gw9dg71WCw8S83t3NaBRXFxBHfDxFlybyRwMVzGRsIpcWxvhcrJ81Pw2EohoMCOP5+TTE+9QI/UTBjy6A9ohn818JHWYjpA7szBAzmTAt0V0bMUtWf+CAzHq6yD5QX7yvg7yVVJX9p+i8b5PagjuzKzMAb2Or/C8lRAWZzHh7TXqu4K34aUxiJOWidSE4JkMnSUoqD4QWEEYDzsGbiOL+bya9CDXAvBcioQHIKVj8AZzGenU+Xg4O3BuBLAvTQnADCQffGwy66ACgMz9+0xPfNKAS/NTjnNAUX6+gnMbsCWPXqc2UDZpLSzRMaM03iHSHIoQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; 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=mlWLNdaxiVLj+jo6z8oPvLsrRO9t1OFmgrzytngQcJ4=; b=rMyMx7VrbRwz/cy7FUjk3EwXWhIVlFTusFy/76w98515kAlkDeW8uWk425fotu0N2wObo/n1K+YxYUncXr2qHhj7W2FDxdZOnwcWjBd+17jIda/7RKfaRSf8Mg8l+P8RgUIg76PtujLqPKjBZXJ+WjaGJGa0C/ijQqiXOzXZYyona+58LRhPlKf+6mvn4JLya13pSbhEAn1zMldAih5D5d56rqsHgIQk52tlmJ+OSfXnVs0skmb63JwL7vrvTPE/knfiokJXotTlFvNBMmFgr1UVOm9idopKy7fMUKLbgoZWyhS91leD9M8MPmZUq0zvS6rLHsecekGNoBUKGmOuoQ== 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=selector1-NXP1-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=mlWLNdaxiVLj+jo6z8oPvLsrRO9t1OFmgrzytngQcJ4=; b=d3Hb5lr803im3xiQ3hFUO/jGfqByJChH1H0sEUoQ92ilm8shBuivDzFOkXyFCZYIAz/BfjvYhodriffVxIXY2GpTG/GInAeg3ruBES59tEt5c9hsqV1+HiOzQ5rqVkJAV387oXIXFYXqxD4W5sLRqLzfPZ4i+XB32wrRjj+S4fUOZyuoBcn/9nKMxJDYqlOnDOam2waCtx1cu+XckXn7JRsBw2+p2X/gXLCXKeAwUBYMeG2bsQWYRS+/ad0RyvDhXp67erfmvMtccMZzueVHdlOqcbB5Ff9OfZXQIlnUXKj8GO8trE7cAKsGhmz+vx9WBBt7TX3NS9YtSZyRTvkR+A== Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=oss.nxp.com; Received: from PAXPR04MB8459.eurprd04.prod.outlook.com (2603:10a6:102:1da::15) by DU0PR04MB9671.eurprd04.prod.outlook.com (2603:10a6:10:317::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7807.27; Mon, 29 Jul 2024 07:38:19 +0000 Received: from PAXPR04MB8459.eurprd04.prod.outlook.com ([fe80::165a:30a2:5835:9630]) by PAXPR04MB8459.eurprd04.prod.outlook.com ([fe80::165a:30a2:5835:9630%4]) with mapi id 15.20.7784.020; Mon, 29 Jul 2024 07:38:19 +0000 From: "Peng Fan (OSS)" <peng.fan@oss.nxp.com> To: jassisinghbrar@gmail.com, shawnguo@kernel.org, s.hauer@pengutronix.de Cc: kernel@pengutronix.de, festevam@gmail.com, linux-kernel@vger.kernel.org, imx@lists.linux.dev, linux-arm-kernel@lists.infradead.org, Peng Fan <peng.fan@nxp.com> Subject: [PATCH] mailbox: imx: use device name in interrupt name Date: Mon, 29 Jul 2024 15:47:09 +0800 Message-Id: <20240729074709.2293935-1-peng.fan@oss.nxp.com> X-Mailer: git-send-email 2.37.1 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-ClientProxiedBy: SI2PR02CA0041.apcprd02.prod.outlook.com (2603:1096:4:196::20) To PAXPR04MB8459.eurprd04.prod.outlook.com (2603:10a6:102:1da::15) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: PAXPR04MB8459:EE_|DU0PR04MB9671:EE_ X-MS-Office365-Filtering-Correlation-Id: 0bd3cf26-076e-439b-ec64-08dcafa16ab4 X-MS-Exchange-SharedMailbox-RoutingAgent-Processed: True X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|1800799024|376014|52116014|366016|38350700014; X-Microsoft-Antispam-Message-Info: lBh54U541K8DmEfR+vyDcHA3movXOGneiiugWE2hafQrefzyZHtK5EDHdXKkyCI5ISAY/x7QdKBeFyS+ct+hl4U/fPMNZSn5PH446zfu9qKYpXI50qvqXCrDxBlKr+JvZwUOkwrmNbCrjFNmY8XWN2uEbZejbeQA6fwAg1FLfgKcQRhqKQPzsLrTT6NdqB2K11YLEtqc1v8R3CNLmltI5/Ie/y/d9348Teetx8g5FWNkoZuIeFqA+whfwW5evox5uAOPoGSVT7dot4Tz7O8MppZ/2Ro0lkLozQnhEw/cSFn8vs9l/zGQjU7xdwszBOyx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utJTUrahrndV6RvVPYCJMdBRtvj4m8uLcRyBbGAw== X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:PAXPR04MB8459.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230040)(1800799024)(376014)(52116014)(366016)(38350700014);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: NfEVLUM69pwDc5NEvA6a9TYXOLqd5tLi1Q096v3+6/FejJEE5Ee/vMp16qNHKxcZRrQpCd49WOVlFpl3NMdk2rJhsJR0CkZgOaRl84Ne7vM8FvGIkoHrBr5vFbFiSaF0ZMA/zMPWlxBGUw9yJhci4+OmLkBUNGtH0x3YH1NJEAu/CquO4lMRcO2XRkXRFuvBBEzbWV9Bct3GHTsqlq5ukE4Fu0Wq0YRGYufzOb/VKyD8b/j6NzvFxvCTBc2mEUb2ON+WaR+AFmeJkTrkZIi2mLkJ9hspd1pkASeuuwyu7wuTDrWcD/yMssdMoBq/ZWCMUutnFKIYAPkpk6MqMS+Qs5BRUJiIwMdMZpz8pTi6ewqdtOpWWNNDVsMkYg9tMowfvJSc0DEX+j2s04xW37K95DRQR2pZ6i0fIh/MdsVNh3C2bYze7rV4d8EdUhAz9Jcj27G3fADBkIcudPhr3bJEM/ae1s4BhIrdUDai4jAqP264PxfY7xGkz+Cn44QAN6U+KdAYdbWzEsnwFNr6WAmhysHwfisi30Hn7xg4Sw8bM1TBTgmTQl5KRdg1iXdDfo21JFpGwrK0Ff0aBwVKJtFy+iqtAJnWxi+Y7VuPuR7utfOPOx/aAzWMj355jtRv8M7Mwpea3KqDgJwrqWSTsrDKqVtHfzxOueT/XbnNLCGhuYQ9ZkPK/f1UpzX+w1toZ+N5lVUMsrgYgsPu0DB9oOJjYU9tNHtZeCv7bR3i+LcYcGb/p7i/ZD6cd1Q2GJfoz12xZGm/PjdpHaH8GGymcuQrCQfPT726U7ShCMGW1J7qqEBUJtfQEmTcTjYy2zVuPSrqc4OL8Pa06WRZ/aBHytaoq6il2ZftmtkwR2/WsVb0vMYat+RxKIjWf4fyMu/rsnWojwHBw2Lkn35OKiEtDNudFU7oD1ETXvY5PxKPzfdHtQGWNmCMVx2AWF8dTjfjeTN6G/S0mtsN6tMI/VvSmUot7UabWPJzMI0wL/260PUsmLdHkSktCjdrG7VeYshqhYc+nCQ9Zec3S+jtEf3I4Avi3NAC/NfN6TGS/EiRgqqsrBg5a0aGFYnEdOeNdHrY7H2SRXtAb+LEjxtr/3y9oBlBkW4sbf4EzoCWVQzBQdfui/oMrVLTZE9zZsJ4HzU2m9lWVgi+PUHgeYnlgd35VFhO3Os9VC4EGVSNgnUP3OQDJ614hx6/EAGdZuRhEhNRQzfb/yJ0ZhNYAnEbiRQBYrm/J4Y/ZEYgn3TWmc17NO00yjbDHKlXIKZDXnRhOJV2U0q/quISEcIA6LixZh31dNZay4PwYcJuI4rVg5khvguuK6Rl4Y70hzR0QyFwl4RKm7plmBRSAoRO6VkL6KGGKOOKG/uvGIlhLqPNG3wRyFJYNpFzrK+htrZ+p9EXAC0PMJwwdWR/elN//HiSdthT8PyUnHdpBxjDRp1GbzriIgO0lY+GiXTDMhboZ8ELgDqa1jNZNGn9bvV3+zS2hmNsD0k+x0Y49R7ntAyUtFPcys6jhityd8RdiOMHfq2f+nkZ+X8mceT1x7IkPXBVijU4bNXd8wYLBzFGYBxxn9toN1KRFY05K5XzdDEDWZ+gAf/irlfj X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 0bd3cf26-076e-439b-ec64-08dcafa16ab4 X-MS-Exchange-CrossTenant-AuthSource: PAXPR04MB8459.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 29 Jul 2024 07:38:19.8149 (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: VqrcqCVo5sZs9TD4PSKUXC1OgjMG5FGGFo9Y67wf2Yzz9jwzuhv4XKUOXA3xcp58Sobd7uh4cJtZo+w+dDCiqw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DU0PR04MB9671 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240729_003823_626555_1F4854B6 X-CRM114-Status: UNSURE ( 9.89 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: <linux-arm-kernel.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-arm-kernel/> List-Post: <mailto:linux-arm-kernel@lists.infradead.org> List-Help: <mailto:linux-arm-kernel-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe> Sender: "linux-arm-kernel" <linux-arm-kernel-bounces@lists.infradead.org> Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org |
Series |
mailbox: imx: use device name in interrupt name
|
expand
|
diff --git a/drivers/mailbox/imx-mailbox.c b/drivers/mailbox/imx-mailbox.c index d17efb1dd0cb..f815dab3be50 100644 --- a/drivers/mailbox/imx-mailbox.c +++ b/drivers/mailbox/imx-mailbox.c @@ -30,7 +30,7 @@ #define IMX_MU_SCU_CHANS 6 /* TX0/RX0 */ #define IMX_MU_S4_CHANS 2 -#define IMX_MU_CHAN_NAME_SIZE 20 +#define IMX_MU_CHAN_NAME_SIZE 32 #define IMX_MU_V2_PAR_OFF 0x4 #define IMX_MU_V2_TR_MASK GENMASK(7, 0) @@ -782,7 +782,7 @@ static int imx_mu_init_generic(struct imx_mu_priv *priv) cp->chan = &priv->mbox_chans[i]; priv->mbox_chans[i].con_priv = cp; snprintf(cp->irq_desc, sizeof(cp->irq_desc), - "imx_mu_chan[%i-%i]", cp->type, cp->idx); + "%s[%i-%i]", dev_name(priv->dev), cp->type, cp->idx); } priv->mbox.num_chans = IMX_MU_CHANS; @@ -819,7 +819,7 @@ static int imx_mu_init_specific(struct imx_mu_priv *priv) cp->chan = &priv->mbox_chans[i]; priv->mbox_chans[i].con_priv = cp; snprintf(cp->irq_desc, sizeof(cp->irq_desc), - "imx_mu_chan[%i-%i]", cp->type, cp->idx); + "%s[%i-%i]", dev_name(priv->dev), cp->type, cp->idx); } priv->mbox.num_chans = num_chans;