Commit 9ac7f797 authored by Jakub Kicinski's avatar Jakub Kicinski
Browse files

Merge branch 'net-microchip-correct-spelling-in-comments'

Simon Horman says:

====================
net: microchip: Correct spelling in comments

Correct spelling in comments in Microchip drivers.
Flagged by codespell.

v1: https://lore.kernel.org/r/20240419-lan743x-confirm-v1-0-2a087617a3e5@kernel.org
====================

Link: https://lore.kernel.org/r/20240424-lan743x-confirm-v2-0-f0480542e39f@kernel.org


Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
parents 092d2141 d896a374
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
+2 −2
Original line number Diff line number Diff line
@@ -803,7 +803,7 @@ static int lan743x_mdiobus_read_c22(struct mii_bus *bus, int phy_id, int index)
	u32 val, mii_access;
	int ret;

	/* comfirm MII not busy */
	/* confirm MII not busy */
	ret = lan743x_mac_mii_wait_till_not_busy(adapter);
	if (ret < 0)
		return ret;
@@ -868,7 +868,7 @@ static int lan743x_mdiobus_read_c45(struct mii_bus *bus, int phy_id,
	u32 mmd_access;
	int ret;

	/* comfirm MII not busy */
	/* confirm MII not busy */
	ret = lan743x_mac_mii_wait_till_not_busy(adapter);
	if (ret < 0)
		return ret;
+1 −1
Original line number Diff line number Diff line
@@ -555,7 +555,7 @@ static int lan743x_ptp_perout(struct lan743x_adapter *adapter, int on,
			if (half == wf_high) {
				/* It's 50% match. Use the toggle option */
				pulse_width = PTP_GENERAL_CONFIG_CLOCK_EVENT_TOGGLE_;
				/* In this case, devide period value by 2 */
				/* In this case, divide period value by 2 */
				ts_period = ns_to_timespec64(div_s64(period64, 2));
				period_sec = ts_period.tv_sec;
				period_nsec = ts_period.tv_nsec;
Loading