From patchwork Fri Apr 19 13:54:19 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Horman X-Patchwork-Id: 13636407 Return-Path: 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 2C1E3C4345F for ; Fri, 19 Apr 2024 13:55:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:Cc:To:In-Reply-To:References:Message-Id :MIME-Version:Subject:Date:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=wDztRCmtXv9bRr36yN4A4SSJQR69CSsUA8UXPaM3fxM=; b=qS6z5XYL2rkTQ3 OJ0yVYOl4PeyOw6mbSQYfCPHzpl/Om8k7Z+6MjHDvIacmNYOuVAG5ddTvEFGgBqvriWFgUU5jcn2q UE3g1okhZiIIPRwTiquULQ+Gw2tLBpsp+9Ip/18semw5niv3PJQkWieVGFf48z+G1fgC9sO6lMBCb 8igmLluO8R2ZfyV9qb/e9+rbOWWb33HKBB0o/lNReffVPWGvmYR62UaNAGl2n1ARyTVFmSYqFjxTS 02b/T3HjtD7ejoL3ndiR3Gia9U2SG29487NKleJYEMAeFtQnQRzjG12OnVyzmDB60A98PN4lmbFSl fdoIC57xK3uQFYfiLO8Q==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rxohU-00000005q0w-2AYk; Fri, 19 Apr 2024 13:54:48 +0000 Received: from sin.source.kernel.org ([2604:1380:40e1:4800::1]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rxohM-00000005ptu-0xMz for linux-arm-kernel@lists.infradead.org; Fri, 19 Apr 2024 13:54:43 +0000 Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by sin.source.kernel.org (Postfix) with ESMTP id 38655CE1AD4; Fri, 19 Apr 2024 13:54:38 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id C9AC0C2BD10; Fri, 19 Apr 2024 13:54:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1713534877; bh=aBTK1cJaMQMQrFN94QGOEJpdZKLOF9ZUWyTxuqqR9ZI=; h=From:Date:Subject:References:In-Reply-To:To:Cc:From; b=jjQS3YQZ8aXjG1ECwDUcQxy+tDl5xjyi+4y3b5WaP9ffi7H6Z1chXTxhXPXIAaihx UTxgKPREUHBoewxjRrAaI3QLnqXo54q3vgn3fDjvoUSkLHj04u3l3CbhAfTEKDZL58 PaSnrF/AbdMW4SXWanCtwSO5SbvUm08PV5AiWs7dMa8jRAWc0S5dUT97FbbG/JVd2o y/3KD2RsbsgJrxOzWjmzAo36fYoh8dzyTABE/PSXfLi7m0S9CYRzHaySPzX1GxVsV7 teFL2liTwxwbdZ4ntfMk4+4JdttKThKIsiQefF1rby13hdlymcleCtMhg+XkZ4pRBK gNKdTXlJnJUdQ== From: Simon Horman Date: Fri, 19 Apr 2024 14:54:19 +0100 Subject: [PATCH net-next 3/4] net: encx24j600: Correct spelling in comments MIME-Version: 1.0 Message-Id: <20240419-lan743x-confirm-v1-3-2a087617a3e5@kernel.org> References: <20240419-lan743x-confirm-v1-0-2a087617a3e5@kernel.org> In-Reply-To: <20240419-lan743x-confirm-v1-0-2a087617a3e5@kernel.org> To: "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni Cc: Bryan Whitehead , Richard Cochran , Horatiu Vultur , Lars Povlsen , Steen Hegelund , Daniel Machon , UNGLinuxDriver@microchip.com, netdev@vger.kernel.org, linux-arm-kernel@lists.infradead.org X-Mailer: b4 0.12.3 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240419_065440_760816_AC5DC6B9 X-CRM114-Status: GOOD ( 13.34 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Correct spelling in comments, as flagged by codespell. Signed-off-by: Simon Horman --- drivers/net/ethernet/microchip/encx24j600-regmap.c | 4 ++-- drivers/net/ethernet/microchip/encx24j600.c | 6 ++++-- drivers/net/ethernet/microchip/encx24j600_hw.h | 2 +- 3 files changed, 7 insertions(+), 5 deletions(-) diff --git a/drivers/net/ethernet/microchip/encx24j600-regmap.c b/drivers/net/ethernet/microchip/encx24j600-regmap.c index 443128adbcb6..3885d6fbace1 100644 --- a/drivers/net/ethernet/microchip/encx24j600-regmap.c +++ b/drivers/net/ethernet/microchip/encx24j600-regmap.c @@ -75,7 +75,7 @@ static int regmap_encx24j600_sfr_read(void *context, u8 reg, u8 *val, if (unlikely(ret)) return ret; } else { - /* Translate registers that are more effecient using + /* Translate registers that are more efficient using * 3-byte SPI commands */ switch (reg) { @@ -129,7 +129,7 @@ static int regmap_encx24j600_sfr_update(struct encx24j600_context *ctx, if (unlikely(ret)) return ret; } else { - /* Translate registers that are more effecient using + /* Translate registers that are more efficient using * 3-byte SPI commands */ switch (reg) { diff --git a/drivers/net/ethernet/microchip/encx24j600.c b/drivers/net/ethernet/microchip/encx24j600.c index cdc2872ace1b..b011bf5c2305 100644 --- a/drivers/net/ethernet/microchip/encx24j600.c +++ b/drivers/net/ethernet/microchip/encx24j600.c @@ -569,7 +569,7 @@ static void encx24j600_dump_config(struct encx24j600_priv *priv, pr_info(DRV_NAME " MABBIPG: %04X\n", encx24j600_read_reg(priv, MABBIPG)); - /* PHY configuation */ + /* PHY configuration */ pr_info(DRV_NAME " PHCON1: %04X\n", encx24j600_read_phy(priv, PHCON1)); pr_info(DRV_NAME " PHCON2: %04X\n", encx24j600_read_phy(priv, PHCON2)); pr_info(DRV_NAME " PHANA: %04X\n", encx24j600_read_phy(priv, PHANA)); @@ -837,7 +837,9 @@ static void encx24j600_hw_tx(struct encx24j600_priv *priv) dump_packet("TX", priv->tx_skb->len, priv->tx_skb->data); if (encx24j600_read_reg(priv, EIR) & TXABTIF) - /* Last transmition aborted due to error. Reset TX interface */ + /* Last transmission aborted due to error. + * Reset TX interface + */ encx24j600_reset_hw_tx(priv); /* Clear the TXIF flag if were previously set */ diff --git a/drivers/net/ethernet/microchip/encx24j600_hw.h b/drivers/net/ethernet/microchip/encx24j600_hw.h index 34c5a289898c..2522f4f48b67 100644 --- a/drivers/net/ethernet/microchip/encx24j600_hw.h +++ b/drivers/net/ethernet/microchip/encx24j600_hw.h @@ -243,7 +243,7 @@ int devm_regmap_init_encx24j600(struct device *dev, /* MAIPG */ /* value of the high byte is given by the reserved bits, - * value of the low byte is recomended setting of the + * value of the low byte is recommended setting of the * IPG parameter. */ #define MAIPGH_VAL 0x0C