]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
wifi: rtlwifi: rtl8192de: Fix typos of debug message of phy setting
authorAndrew Kreimer <algonell@gmail.com>
Thu, 6 Feb 2025 08:24:12 +0000 (10:24 +0200)
committerPing-Ke Shih <pkshih@realtek.com>
Mon, 10 Feb 2025 03:45:39 +0000 (11:45 +0800)
There are some typos in comments/messages:
 - althougth -> although
 - asume -> assume

Fix them via codespell.

Signed-off-by: Andrew Kreimer <algonell@gmail.com>
Acked-by: Ping-Ke Shih <pkshih@realtek.com>
Signed-off-by: Ping-Ke Shih <pkshih@realtek.com>
Link: https://patch.msgid.link/20250206082457.9148-1-algonell@gmail.com
drivers/net/wireless/realtek/rtlwifi/rtl8192de/phy.c

index d429560009bb6c496df5c97fb7ac1000896a96bc..e07402e73ba322a9cc0d758baf2686579b674e96 100644 (file)
@@ -484,7 +484,7 @@ bool rtl92d_phy_config_rf_with_headerfile(struct ieee80211_hw *hw,
         * pathA or mac1 has to set phy0&phy1 pathA */
        if ((content == radiob_txt) && (rfpath == RF90_PATH_A)) {
                rtl_dbg(rtlpriv, COMP_INIT, DBG_LOUD,
-                       " ===> althougth Path A, we load radiob.txt\n");
+                       " ===> although Path A, we load radiob.txt\n");
                radioa_arraylen = radiob_arraylen;
                radioa_array_table = radiob_array_table;
        }
@@ -750,7 +750,7 @@ static void _rtl92d_phy_switch_rf_setting(struct ieee80211_hw *hw, u8 channel)
                    && rtlhal->interfaceindex == 1) {
                        need_pwr_down = rtl92d_phy_enable_anotherphy(hw, false);
                        rtlhal->during_mac1init_radioa = true;
-                       /* asume no this case */
+                       /* assume no this case */
                        if (need_pwr_down)
                                rtl92d_phy_enable_rf_env(hw, path,
                                                         &u4regvalue);
@@ -1885,7 +1885,7 @@ static void _rtl92d_phy_reload_lck_setting(struct ieee80211_hw *hw,
                        bneed_powerdown_radio =
                                rtl92d_phy_enable_anotherphy(hw, false);
                        rtlpriv->rtlhal.during_mac1init_radioa = true;
-                       /* asume no this case */
+                       /* assume no this case */
                        if (bneed_powerdown_radio)
                                rtl92d_phy_enable_rf_env(hw, erfpath,
                                                         &u4regvalue);