Commit 632c9550 authored by Simon Horman's avatar Simon Horman Committed by Jakub Kicinski

net: lan743x: 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-1-f0480542e39f@kernel.orgSigned-off-by: default avatarJakub Kicinski <kuba@kernel.org>
parent 092d2141
...@@ -803,7 +803,7 @@ static int lan743x_mdiobus_read_c22(struct mii_bus *bus, int phy_id, int index) ...@@ -803,7 +803,7 @@ static int lan743x_mdiobus_read_c22(struct mii_bus *bus, int phy_id, int index)
u32 val, mii_access; u32 val, mii_access;
int ret; int ret;
/* comfirm MII not busy */ /* confirm MII not busy */
ret = lan743x_mac_mii_wait_till_not_busy(adapter); ret = lan743x_mac_mii_wait_till_not_busy(adapter);
if (ret < 0) if (ret < 0)
return ret; return ret;
...@@ -868,7 +868,7 @@ static int lan743x_mdiobus_read_c45(struct mii_bus *bus, int phy_id, ...@@ -868,7 +868,7 @@ static int lan743x_mdiobus_read_c45(struct mii_bus *bus, int phy_id,
u32 mmd_access; u32 mmd_access;
int ret; int ret;
/* comfirm MII not busy */ /* confirm MII not busy */
ret = lan743x_mac_mii_wait_till_not_busy(adapter); ret = lan743x_mac_mii_wait_till_not_busy(adapter);
if (ret < 0) if (ret < 0)
return ret; return ret;
......
...@@ -555,7 +555,7 @@ static int lan743x_ptp_perout(struct lan743x_adapter *adapter, int on, ...@@ -555,7 +555,7 @@ static int lan743x_ptp_perout(struct lan743x_adapter *adapter, int on,
if (half == wf_high) { if (half == wf_high) {
/* It's 50% match. Use the toggle option */ /* It's 50% match. Use the toggle option */
pulse_width = PTP_GENERAL_CONFIG_CLOCK_EVENT_TOGGLE_; 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)); ts_period = ns_to_timespec64(div_s64(period64, 2));
period_sec = ts_period.tv_sec; period_sec = ts_period.tv_sec;
period_nsec = ts_period.tv_nsec; period_nsec = ts_period.tv_nsec;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment