Commit 49c6e0a8 authored by Simon Horman's avatar Simon Horman Committed by Jakub Kicinski
Browse files

net: encx24j600: Correct spelling in comments



Correct spelling in comments, as flagged by codespell.

Signed-off-by: default avatarSimon Horman <horms@kernel.org>
Reviewed-by: default avatarDaniel Machon <daniel.machon@microchip.com>
Link: https://lore.kernel.org/r/20240424-lan743x-confirm-v2-3-f0480542e39f@kernel.org


Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
parent 896e47f5
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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) {
+4 −2
Original line number Diff line number Diff line
@@ -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 */
+1 −1
Original line number Diff line number Diff line
@@ -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