From patchwork Sun Sep 29 10:09:31 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yu Jiaoliang X-Patchwork-Id: 831482 Received: from APC01-PSA-obe.outbound.protection.outlook.com (mail-psaapc01on2080.outbound.protection.outlook.com [40.107.255.80]) (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 F38BD13C8F9; Sun, 29 Sep 2024 10:09:58 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.255.80 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1727604601; cv=fail; b=owqRu9wnXhcPSjDeqNLCfZVHP1K1gf1ViCR716eOHaGEmjU7a9yLOUXKEL2oTtcB8UbZJbeFYsTHIZQ4sqgA8DpiEtGiK/4PtUj8MP9t3OOnUCw8p1fYxzSyeAm3sBcuXx6ykgSNDsL5AvD3vv3UQZu3RdMjyEiNfVmVv2Ja9rw= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1727604601; c=relaxed/simple; bh=oERCrTp0KKM62AM+gyuNLcYbiTcVct8euaAlVk46xYk=; h=From:To:Cc:Subject:Date:Message-Id:Content-Type:MIME-Version; b=MLKWB/6lVytyT+0bLy8suA4lIw1rkhMlHu16YOyHUrK6W9gZulA9RV/xXUq/jVZOu7mdQ0UnAcKti44638Hbbo1raJwwBGgBiNnTaCMJkXTyu+JKVYZglzlOOvwbvAuTlUfvLntbvFXM9wbtK8e7jeJGxzoB5H2gzLcxs/pr9yc= ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=vivo.com; spf=pass smtp.mailfrom=vivo.com; dkim=pass (2048-bit key) header.d=vivo.com header.i=@vivo.com header.b=SUER4kpF; arc=fail smtp.client-ip=40.107.255.80 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=vivo.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=vivo.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=vivo.com header.i=@vivo.com header.b="SUER4kpF" ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=lRxGgC2LCm+B0w1nYSnSAM0ya8xWGCKvYS2E6fsWwsG2454eKaFGHi135TBCfmnbanW9GUPEqtq7IQ3IGSA/pLG9IE3g2kAv4LKrsb83bSisHcJKVo6TOSn1Q2jHRpHokbtFBrbwaKNFT6d+wpvd0QgqTulMn+wvM1/8xrPXIT7YYM/wZBdlsiYR+5F16IRIw8WLqZ/qs8nl2I+8FSBK71YMRBaE1kIeYpH9sdRyC7oWRm/B0RuQqWGNhyqeqHugUfLZk8jQTABO5n1B/HrceCk9P3YaazGN5PVyPJb+h3/+YKR7OsqY3Jv64Pg6UvW5XteKLgIJ+igLdpTYOavDBg== 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=S5zW54ooWy1rzEvUmWc/Abw9fZ2rONHH1cpeo+9sLDY=; b=bmWKv75pm4WMOn6tCY1nzkl2R2XJhjKtM9jOkcAuTaxu6eUJ+oqBo9gLvhBj15WzjfA9oK5QSCVD194AqzsF6njUO6VvgtuUgdcte4JuNaR9KOBkirMjM7JtHJZ5J8OrWj55OxiBww/qkS/+5JBTsFyrEgF5+2HCu7rmfinyV99IJyT5LWdjXAmgcB4IE9W7H4Z0lm4vP5u6NTJnn3upnUJxhoLqI0zTyh7Y4/C4BFEZHLbwLJgZ79Lih9PMQ9bgOBnC4mY2O5EiaVdI7g42ugp4QnOwYSeJ3ocof37yfIRjHPEqwvcdHGqeNh1nfsjr44ZJdttwsM3v4xEB3MuwCw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=vivo.com; dmarc=pass action=none header.from=vivo.com; dkim=pass header.d=vivo.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=vivo.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=S5zW54ooWy1rzEvUmWc/Abw9fZ2rONHH1cpeo+9sLDY=; b=SUER4kpFAE3akMiz4JsrJnCOkf7phTPdg63R4i1q8J9jlDekMThOUizVXU1G4jJcXE+Qviho6pcGlntGuCatsYt3dn38UpyBJsjmMgn4hXnApQ5vFzUCrMS0p6q44ISZar900PWeaI5Uf1IxB25hfI1vVPCNSJNnneSOpAF1rWiJiIekuR7Kn2e1e4JJLbLrjlEMWzaOckFdo1DKO02ZNq2t4bsByrzwt/6mMjM8opm4wlTTTJnhbu358MoSPCv8eUN6JYqsix29aNPpAsTUQ9ByzJ+59Zq5XkzGwNd2aJTb0BYXJ7jDEuFiz0Cvj5rdy7eVDrOZJILbu5Dc+IbfVw== Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=vivo.com; Received: from TYZPR06MB4461.apcprd06.prod.outlook.com (2603:1096:400:82::8) by SG2PR06MB5261.apcprd06.prod.outlook.com (2603:1096:4:1d8::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8005.25; Sun, 29 Sep 2024 10:09:55 +0000 Received: from TYZPR06MB4461.apcprd06.prod.outlook.com ([fe80::9c62:d1f5:ede3:1b70]) by TYZPR06MB4461.apcprd06.prod.outlook.com ([fe80::9c62:d1f5:ede3:1b70%5]) with mapi id 15.20.8005.024; Sun, 29 Sep 2024 10:09:55 +0000 From: Yu Jiaoliang To: alcooperx@gmail.com, bcm-kernel-feedback-list@broadcom.com, gregkh@linuxfoundation.org, jirislaby@kernel.org, matthias.bgg@gmail.com, angelogioacchino.delregno@collabora.com, andriy.shevchenko@linux.intel.com, linux-serial@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org Cc: opensource.kernel@vivo.com Subject: [PATCH v1] serial: 8250: Fix typos in comments across various files Date: Sun, 29 Sep 2024 18:09:31 +0800 Message-Id: <20240929100931.530620-1-yujiaoliang@vivo.com> X-Mailer: git-send-email 2.34.1 X-ClientProxiedBy: TYWP286CA0029.JPNP286.PROD.OUTLOOK.COM (2603:1096:400:262::17) To TYZPR06MB4461.apcprd06.prod.outlook.com (2603:1096:400:82::8) Precedence: bulk X-Mailing-List: linux-serial@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: TYZPR06MB4461:EE_|SG2PR06MB5261:EE_ X-MS-Office365-Filtering-Correlation-Id: 4ac3178f-e548-441e-60bf-08dce06edda3 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; ARA:13230040|376014|52116014|7416014|1800799024|366016|921020|38350700014; X-Microsoft-Antispam-Message-Info: HfZcCHP8/ve0IxhD2/ZFnTfI+qypt9I/Fh8yqNVtYjWNpdEx7+C35BPkDWDtE6KcGejuJdwdqTC0+VLtmk0M8RIfKFk87P4FHyqzCXs74zNzbMwoh3x3gkKJ0tw8lk6nLWcD62/dpzcOIbsYheZxpshCvV4dfHrFzq65aNaIX7JS9ELUPY7erHupHa6Pc6VpLkhPu/Hw2R7JzKm8ggrWtIXT1HJV92Iypl6jbkkOZeJ0TEx0wiR6P87rWomrRZR8niFgabEEd55mjXTjQ4puSTkrnkvRgeZxwdARpB6LtvqRYjaYtXE3OmLEVWpbs9oZHYTuXC5wlZKlBMMdE3bZR5vtFzM1aOAhRqXQgw2HMrPSv8lJvqBSGC5yk/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Q7LwnKY= X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:TYZPR06MB4461.apcprd06.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230040)(376014)(52116014)(7416014)(1800799024)(366016)(921020)(38350700014); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: E+N/JZGSjUcou34uhu8R4emzlQ775Mq3CTTLix/xidNfqIUQuCo8bygoqgi9OacaZXFcEPZB5P378aSc+FuFNOgrSvabToYCCg3ZyZlF4BAhHABHYYOvxGJ5BVgvGLtAFCMxpmpC6xvdYrK2gisZh6Oyt7wGkNxHg4YTvRFTFZpHNxEOxw0tcKbZcpfEhFev0bqSqCdqvX43X/2PhZUwr4uOxOTIcL5CFZPCrEGnZdTAV7KdZq1BZepAnMdYvGxfXpeXPG7orQznIr4Q2+w4WFlwdcmOx3NOfSWNhSepoR2rNv6n8UDVrdyQhcm+cPvQ43pQkkcZCdg7F/Hu2HXsOz0+NlaG2EqXGVOlHgJWhm0wvwhE1NxquqGE1LxzCovgU3fj2DGOZIs6RXrg0+gncwM+MOH/nzY5ywlj30RKUaxTAfuV5vrTMCVVPk5batj0igbA3dyWGEYb++5oiLHDLwlmgaAjZQFDWKYEaUk3yRLEbzm9a9iZe3DFxHW2DXvOt3fHsJ64HCzb5dSUeJi20TSQfgz9Ps2R1Gyq9sgf6mXNzuUVaiV3m0DfCDHk57VIAFp2PTCnPAohESkMvI2rHfhPFuFkuLJ+t2rK3NWMs4DbN55WZPqvDg98f+EyY8sGa4nnEdAUdVjqxRhgk/wQv79nte0NtuRPJgaUV39JtCefciJY3oDmC1p25tAmCzxMbhvUA5bp8JmQQM+nLDTnVDJEJ3iY0kkT3k2q6iHN73CK8bsi8FmK73qSDnQB19Dm8A+Wmfd2Vct3aJpG5kEe2ZFIa/C2PPAD76cA6LUJciB1iATS5KXklIPwJtdcpx7Kiv1zWHvl0Q8fXiBUuSS5nIHR4KnEEuVSOK3V6TISpi1JvUH+WHw1yB/dEy7Fyw41P68cSPd3r35alt78Kbvs+7hYmx2d6nPvFVs75VgSM2ffvUxEi/Kn6BAjJzM780sLsfm6PJpgvvbg5i7Lkuf6WCNkLaRD2U/w05fU7g4YbKKgGWOlsgaUmEtAu200isICpX7CIhppBqFrmggf6ppO2gDBmQKf+IYZWJ+pQmgaf+CrvC5z20GvvakB7kBuuhaLuzsyWSD+QwlYeW0F/QX5ylmDx2GrJ3yBwcPwCMG20QTYRfwx67/XGD/xNG2prWtpmMt8zSs29IboDBcZlZI5qwfcGLmkFK4O5ep+BuHK0ta5tC1ce7eggWrmUZCUZ2FdYR4e83kVD/G/wyJUDL4AZWDL8352sE/m/Q3EXo4PPJVSK7p0dyBLQl2JhZkQ1ZhP2qufm5D/y1mlG1Q+3fJss8Jq7EU0HR8DOxES08/Lzxzb0HBSbNTWp8ZDEKI72Tc74HRUi6Os/ZFzqgguVrNYv6NSYJlXs/oJ4oZjeIGHZtl393BO45OXYq1ruwj/1Df/JlvlNY4MIn1LwIcMku1iA0e5H/war2r06iW5c1CJUahe6ZToR1dyQVhQJfR3Z1sFwhq6jUbeoSqqoeKzHA2NVqN6S0m276hrJyxZKhmdgXHPeoZ1Tdsse6HWbhIgz7l1ZGut9k2F/B4xtkPKsLVnsK7TZ+mQAXSOxApxJEnylaU+RYNyjln4DVaHcZOim1iV X-OriginatorOrg: vivo.com X-MS-Exchange-CrossTenant-Network-Message-Id: 4ac3178f-e548-441e-60bf-08dce06edda3 X-MS-Exchange-CrossTenant-AuthSource: TYZPR06MB4461.apcprd06.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 29 Sep 2024 10:09:55.0954 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 923e42dc-48d5-4cbe-b582-1a797a6412ed X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: TvKJJBarvKM+rEQ8LiVJCb2wv05tld2w/hRa45rechongw+gcFHZaxDpQlDOWUq0+Ib1p3Q9x78M/41GvTt9HA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SG2PR06MB5261 This patch fixes several typos in the comments within the tty/8250 directory to improve readability and code documentation. Detected using codespell. Signed-off-by: Yu Jiaoliang Reviewed-by: Andy Shevchenko Reviewed-by: AngeloGioacchino Del Regno --- drivers/tty/serial/8250/8250_bcm7271.c | 2 +- drivers/tty/serial/8250/8250_exar.c | 4 ++-- drivers/tty/serial/8250/8250_fintek.c | 2 +- drivers/tty/serial/8250/8250_mtk.c | 4 ++-- drivers/tty/serial/8250/8250_omap.c | 4 ++-- 5 files changed, 8 insertions(+), 8 deletions(-) diff --git a/drivers/tty/serial/8250/8250_bcm7271.c b/drivers/tty/serial/8250/8250_bcm7271.c index 2569ca69223f..431d560375d2 100644 --- a/drivers/tty/serial/8250/8250_bcm7271.c +++ b/drivers/tty/serial/8250/8250_bcm7271.c @@ -812,7 +812,7 @@ static int brcmuart_handle_irq(struct uart_port *p) /* * if Receive Data Interrupt is enabled and * we're uing hardware flow control, deassert - * RTS and wait for any chars in the pipline to + * RTS and wait for any chars in the pipeline to * arrive and then check for DR again. */ if ((ier & UART_IER_RDI) && (up->mcr & UART_MCR_AFE)) { diff --git a/drivers/tty/serial/8250/8250_exar.c b/drivers/tty/serial/8250/8250_exar.c index b7a75db15249..5f8933537728 100644 --- a/drivers/tty/serial/8250/8250_exar.c +++ b/drivers/tty/serial/8250/8250_exar.c @@ -360,7 +360,7 @@ static u16 exar_ee_read(struct exar8250 *priv, u8 ee_addr) * @priv: Device's private structure * @mpio_num: MPIO number/offset to configure * - * Configure a single MPIO as an output and disable tristate. It is reccomended + * Configure a single MPIO as an output and disable tristate. It is recommended * to set the level with exar_mpio_set_high()/exar_mpio_set_low() prior to * calling this function to ensure default MPIO pin state. * @@ -516,7 +516,7 @@ static int xr17v35x_startup(struct uart_port *port) serial_port_out(port, UART_XR_EFR, UART_EFR_ECB); /* - * Make sure all interrups are masked until initialization is + * Make sure all interrupts are masked until initialization is * complete and the FIFOs are cleared * * Synchronize UART_IER access against the console. diff --git a/drivers/tty/serial/8250/8250_fintek.c b/drivers/tty/serial/8250/8250_fintek.c index e2aa2a1a02dd..f59c01f48480 100644 --- a/drivers/tty/serial/8250/8250_fintek.c +++ b/drivers/tty/serial/8250/8250_fintek.c @@ -125,7 +125,7 @@ static int fintek_8250_enter_key(u16 base_port, u8 key) if (!request_muxed_region(base_port, 2, "8250_fintek")) return -EBUSY; - /* Force to deactive all SuperIO in this base_port */ + /* Force to deactivate all SuperIO in this base_port */ outb(EXIT_KEY, base_port + ADDR_PORT); outb(key, base_port + ADDR_PORT); diff --git a/drivers/tty/serial/8250/8250_mtk.c b/drivers/tty/serial/8250/8250_mtk.c index b9cca210e171..2b8e6bfc7d81 100644 --- a/drivers/tty/serial/8250/8250_mtk.c +++ b/drivers/tty/serial/8250/8250_mtk.c @@ -346,8 +346,8 @@ mtk8250_set_termios(struct uart_port *port, struct ktermios *termios, /* * Mediatek UARTs use an extra highspeed register (MTK_UART_HIGHS) * - * We need to recalcualte the quot register, as the claculation depends - * on the vaule in the highspeed register. + * We need to recalculate the quot register, as the calculation depends + * on the value in the highspeed register. * * Some baudrates are not supported by the chip, so we use the next * lower rate supported and update termios c_flag. diff --git a/drivers/tty/serial/8250/8250_omap.c b/drivers/tty/serial/8250/8250_omap.c index 88b58f44e4e9..f967d09482d5 100644 --- a/drivers/tty/serial/8250/8250_omap.c +++ b/drivers/tty/serial/8250/8250_omap.c @@ -1304,7 +1304,7 @@ static void am654_8250_handle_rx_dma(struct uart_8250_port *up, u8 iir, /* * This is mostly serial8250_handle_irq(). We have a slightly different DMA - * hoook for RX/TX and need different logic for them in the ISR. Therefore we + * hook for RX/TX and need different logic for them in the ISR. Therefore we * use the default routine in the non-DMA case and this one for with DMA. */ static int omap_8250_dma_handle_irq(struct uart_port *port) @@ -1338,7 +1338,7 @@ static int omap_8250_dma_handle_irq(struct uart_port *port) serial8250_tx_chars(up); } else { /* - * try again due to an earlier failer which + * try again due to an earlier failure which * might have been resolved by now. */ if (omap_8250_tx_dma(up))