Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

net: phy: micrel: fix typos in comments

Fix several spelling and grammatical errors in comments across
micrel PHY drivers. Corrections include:
- "dealy" -> "delay"
- "autonegotation" -> "autonegotiation"
- "recheas" -> "reaches"
- "one" -> "on"
- "improvenent" -> "improvement"
- "intput" -> "input"

Signed-off-by: Alok Tiwari <alok.a.tiwari@oracle.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Link: https://patch.msgid.link/20251017193525.1457064-2-alok.a.tiwari@oracle.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>

authored by

Alok Tiwari and committed by
Jakub Kicinski
ba397fde 3dfdc98d

+6 -6
+6 -6
drivers/net/phy/micrel.c
··· 1050 1050 #define TX_CLK_ID 0x1f 1051 1051 1052 1052 /* set tx and tx_clk to "No delay adjustment" to keep 0ns 1053 - * dealy 1053 + * delay 1054 1054 */ 1055 1055 #define TX_ND 0x7 1056 1056 #define TX_CLK_ND 0xf ··· 1913 1913 return ret; 1914 1914 1915 1915 if (phydev->autoneg != AUTONEG_ENABLE) { 1916 - /* When autonegotation is disabled, we need to manually force 1916 + /* When autonegotiation is disabled, we need to manually force 1917 1917 * the link state. If we don't do this, the PHY will keep 1918 1918 * sending Fast Link Pulses (FLPs) which are part of the 1919 1919 * autonegotiation process. This is not desired when ··· 3533 3533 /* Set target to too far in the future, effectively disabling it */ 3534 3534 lan8814_ptp_set_target(phydev, event, 0xFFFFFFFF, 0); 3535 3535 3536 - /* And then reload once it recheas the target */ 3536 + /* And then reload once it reaches the target */ 3537 3537 lanphy_modify_page_reg(phydev, LAN8814_PAGE_COMMON_REGS, LAN8814_PTP_GENERAL_CONFIG, 3538 3538 LAN8814_PTP_GENERAL_CONFIG_RELOAD_ADD_X(event), 3539 3539 LAN8814_PTP_GENERAL_CONFIG_RELOAD_ADD_X(event)); ··· 4403 4403 static void lan8814_clear_2psp_bit(struct phy_device *phydev) 4404 4404 { 4405 4405 /* It was noticed that when traffic is passing through the PHY and the 4406 - * cable is removed then the LED was still one even though there is no 4406 + * cable is removed then the LED was still on even though there is no 4407 4407 * link 4408 4408 */ 4409 4409 lanphy_modify_page_reg(phydev, LAN8814_PAGE_PCS_DIGITAL, LAN8814_EEE_STATE, ··· 4543 4543 phy_write_mmd(phydev, KSZ9131RN_MMD_COMMON_CTRL_REG, 4544 4544 LAN8841_PTP_TX_VERSION, 0xff00); 4545 4545 4546 - /* 100BT Clause 40 improvenent errata */ 4546 + /* 100BT Clause 40 improvement errata */ 4547 4547 phy_write_mmd(phydev, LAN8841_MMD_ANALOG_REG, 4548 4548 LAN8841_ANALOG_CONTROL_1, 4549 4549 LAN8841_ANALOG_CONTROL_1_PLL_TRIM(0x2)); ··· 5563 5563 u16 tmp = 0; 5564 5564 int ret; 5565 5565 5566 - /* Set GPIO to be intput */ 5566 + /* Set GPIO to be input */ 5567 5567 ret = phy_set_bits_mmd(phydev, 2, LAN8841_GPIO_EN, BIT(pin)); 5568 5568 if (ret) 5569 5569 return ret;