net: encx24j600: Correct spelling in comments
Correct spelling in comments, as flagged by codespell. Signed-off-by: Simon Horman <horms@kernel.org> Reviewed-by: Daniel Machon <daniel.machon@microchip.com> Link: https://lore.kernel.org/r/20240424-lan743x-confirm-v2-3-f0480542e39f@kernel.org Signed-off-by: Jakub Kicinski <kuba@kernel.org>
This commit is contained in:
committed by
Jakub Kicinski
parent
896e47f5f4
commit
49c6e0a859
@@ -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) {
|
||||
|
||||
@@ -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 */
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user