Message ID | 20230206013016.29352-1-sherry.sun@nxp.com |
---|---|
State | New |
Headers | show
Return-Path: <linux-serial-owner@vger.kernel.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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 9E141C636CD for <linux-serial@archiver.kernel.org>; Mon, 6 Feb 2023 01:32:59 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229468AbjBFBc6 (ORCPT <rfc822;linux-serial@archiver.kernel.org>); Sun, 5 Feb 2023 20:32:58 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37714 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229458AbjBFBc5 (ORCPT <rfc822;linux-serial@vger.kernel.org>); Sun, 5 Feb 2023 20:32:57 -0500 Received: from EUR02-DB5-obe.outbound.protection.outlook.com (mail-db5eur02on20600.outbound.protection.outlook.com [IPv6:2a01:111:f400:fe12::600]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5BE1D11156; Sun, 5 Feb 2023 17:32:55 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=hQizGY7sRk50JCXPAJDJIQ/Nzz+rnbKW7SYdWzK/k0jYeZu/tp67k/idzpjALMjKo31cAmdX7R4yQsf26ritWAiO1cUaX8IxrgJlOE9UkRdjRmRNvP5O3wb/nbXBo5u9wORTjSqE2QPgpWAX88xzPIKv0L2wTlMMpxkPpbUn3MLU9kAvH4T0HnZMlheW7gPQFMn/WZBHQw6+7nWk5ya4Zs/EXHdRCOw0KX/eX44NcoPcbehpu3wBqRFnJSuuHB+PIN/3JuJU8Tes8t3X6cOD1U3TtmDQ/TGLoTjwO9NI/zgNL0l/E5pjjZG5vCvus638sCbeuQPHIVmVPkuB5juDjw== 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=6vjKPGwmjnNYe+VqL17imo8l2unTtRjKH8TJtazBGr8=; b=Gxjckfg6ZcvM8sFX4qdDXlq/6CNg7Tkt78H/uAbQnWLJXrZYS23IM7CQ1Lmz9cRF7mTzgWJW6pj6V1m4Jhr3WMWPmGgYE90fbLXqbReIWccOroV38LnDygAgevNxrJcfYq17ypAhkeuxR83O/Eqdz8DL0/wZUBsmlEqI5m0I2z1Avqe4/TKn4kbkglCJcQYdySThWdHwactQFfVggIqwPJNsUaUkBGv76vF983GrGR8ywHSu27xDzB3zw+M7/vkzJ6tUL6zK/RESnZAe0lm1yFUbm1cX2DehsZ1DpOnoRfNJCj0Po7sB/2dvgZ1dHOtsHVx6L70EeqN62ztJZYtDDw== 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=6vjKPGwmjnNYe+VqL17imo8l2unTtRjKH8TJtazBGr8=; b=qu3N6YUgwCP7VBKLfyCFAeI3a77wRNBXrj7g2Q1Y9aOq+aga3ZQfwSVH/tljerurGGFn7s/D62O/kJ/wBTIK5C96RZEU713zib47uhDWAU1F5Be5YDeJtmwREej1AdmT0hVRL8tXWt1DUN0koBc6TrJBpJESI7CZ3btDuYGXbpk= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nxp.com; Received: from AS8PR04MB8404.eurprd04.prod.outlook.com (2603:10a6:20b:3f8::7) by DU2PR04MB8614.eurprd04.prod.outlook.com (2603:10a6:10:2d9::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6064.34; Mon, 6 Feb 2023 01:32:51 +0000 Received: from AS8PR04MB8404.eurprd04.prod.outlook.com ([fe80::7f24:bc0a:acd4:b13f]) by AS8PR04MB8404.eurprd04.prod.outlook.com ([fe80::7f24:bc0a:acd4:b13f%8]) with mapi id 15.20.6064.034; Mon, 6 Feb 2023 01:32:50 +0000 From: Sherry Sun <sherry.sun@nxp.com> To: gregkh@linuxfoundation.org, jirislaby@kernel.org, shawnguo@kernel.org, s.hauer@pengutronix.de, peng.fan@nxp.com, festevam@gmail.com Cc: linux-serial@vger.kernel.org, linux-kernel@vger.kernel.org, linux-imx@nxp.com, kernel@pengutronix.de Subject: [PATCH] tty: serial: imx: disable Ageing Timer interrupt request irq Date: Mon, 6 Feb 2023 09:30:16 +0800 Message-Id: <20230206013016.29352-1-sherry.sun@nxp.com> X-Mailer: git-send-email 2.17.1 Content-Type: text/plain X-ClientProxiedBy: SG2PR06CA0196.apcprd06.prod.outlook.com (2603:1096:4:1::28) To AS8PR04MB8404.eurprd04.prod.outlook.com (2603:10a6:20b:3f8::7) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: AS8PR04MB8404:EE_|DU2PR04MB8614:EE_ X-MS-Office365-Filtering-Correlation-Id: aa18e8d4-38e1-464f-135e-08db07e20f54 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 5mNLHFSl3bIP35hfY9pwuiDZ9OWvC/i5dGJdAPx5JxvlpraoXwInFQg3GdDyg1HR6gc1NUf4hOAvjbpME0DMRadbvVZCGjOLSL82zeGjlUoMF58yGJcQYorkeYz4Z4M7T8ylk5LNqygFxEwSeAfse6XFmOX3JitgLX1oLLN8XeRykRab7YzzwcB4b0rMI87eNVyJRPz+ikCxxp2Wgl2pu+uXcTr26v2MuDBU/HC4TaUjZd/gD1x0mihvcRAnMkyyyf6dggI/i6C8Xna7HTwFOoWS8gRsBj5+31AerPduzXsMpiwbJr3YPdeKvLwmkP/3jpodfC3XB5AsDhRsvBaVbdccVWPMzSw2tfjMlm0ZdV3jCgqhuacCIxxDkXvsbgYPrLxyYC9KuRg2widZq3OHvc9mr9Q8RdIh/WNCNwnhyKU8khhxsPfMU84rCUwlUzdiq2grVM7IlkFUmb9PqCNAKtsYkxYMZETaVXrRD1fEB9GKzFkN8ZKg8R4JwRQ1m4nMAwaa8qFn0Gh7hkWM7G5VOu6bMsKozry3RVAJWvS80JURIQjbU8JEASQSCmhQmDPRrzvkjqlVMP7s0AQslSgtz2gMCiDYuJ+XocFbW6kqiNIiy733tz+e4vJnuGfg0Pjr2NKkcAi4q7hXKzEHQ0hxk3yCX9SJHEZIWfIHlHXnTWeKYPgCKeGVurdaCxeJuWcD83xKQdAbCeOXVlrNpJYaow== X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:AS8PR04MB8404.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230025)(4636009)(366004)(376002)(346002)(136003)(39860400002)(396003)(451199018)(316002)(36756003)(86362001)(38100700002)(38350700002)(83380400001)(26005)(1076003)(6512007)(2616005)(6666004)(6506007)(186003)(8936002)(52116002)(5660300002)(6486002)(478600001)(45080400002)(41300700001)(44832011)(2906002)(66556008)(4326008)(66476007)(66946007)(8676002);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: eFN2vk3xPxBl7XqxgG4SyOZtyphb4qNH38qxe4znUjgsD+xlApntWpWK3bP1nIBjgfcJx2Mirp1W5BG9jW19/DwWPh39cOGKHsn/EWmgJhWLClekemrSLbRsnOq5MKtAqsJfmgj/pKDcw/56VZAnreCSMSXU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X6cdhHusH8g2dKUEPWVcQPsQm/4unNdpgW1mDWfe3UQ/WRtJ5iN6aM2cBWgbhHSLDeZo9BRSOjbaHeNWHQytACA1/19gyRn6qtD34cf+IOd4PPw6sF3vu3G0hYY4OKSzHJHn/gnowjq5w+uWjLObbuBKtVs6HupwwAgwl4FHqJe4zwsuWGAzHdXGEtUGHk/UdaPJ8dPLniGMtzFJ0ghDQo72bQD6c+h2+LMsn5QGVFa5j1ad4yKpa+ivzVsrje0CPdRrUZm0lF+iEjcaUwclyvhaBnhi10Fd2lqvn9XV95C+4GhZE81XTsyvNsNvJQaE6Rva7mDR70689p/YlnXSx17wlw5NDWYmIMw028rakrP X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: aa18e8d4-38e1-464f-135e-08db07e20f54 X-MS-Exchange-CrossTenant-AuthSource: AS8PR04MB8404.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 06 Feb 2023 01:32:50.8758 (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: AZYuVwiA7Od0UQ9ywHgUEw2FWscrlBXFtmb0LQV5CMtG6gSAV0glaXkrGN1Mr0IFoqrRgmqW9ytOwb/Cd7XQYA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DU2PR04MB8614 Precedence: bulk List-ID: <linux-serial.vger.kernel.org> X-Mailing-List: linux-serial@vger.kernel.org |
Series |
tty: serial: imx: disable Ageing Timer interrupt request irq
|
expand
|
diff --git a/drivers/tty/serial/imx.c b/drivers/tty/serial/imx.c index ae75135dccb8..0e0590d1b123 100644 --- a/drivers/tty/serial/imx.c +++ b/drivers/tty/serial/imx.c @@ -2381,6 +2381,11 @@ static int imx_uart_probe(struct platform_device *pdev) ucr1 &= ~(UCR1_ADEN | UCR1_TRDYEN | UCR1_IDEN | UCR1_RRDYEN | UCR1_RTSDEN); imx_uart_writel(sport, ucr1, UCR1); + /* Disable Ageing Timer interrupt */ + ucr2 = imx_uart_readl(sport, UCR2); + ucr2 &= ~UCR2_ATEN; + imx_uart_writel(sport, ucr2, UCR2); + /* * In case RS485 is enabled without GPIO RTS control, the UART IP * is used to control CTS signal. Keep both the UART and Receiver