rtl8xxxu: Rename rtl8723au_phy_iq_calibrate() to rtl8xxxu_gen1_phy_iq_calibrate()
All supported gen1 parts use the same phy_iq_calibrate() function (unlike their gen2 counterparts). Rename the function to reflect this. Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com> Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
This commit is contained in:
parent
c6e39da02e
commit
28466e9214
|
@ -6107,7 +6107,7 @@ static void rtl8xxxu_prepare_calibrate(struct rtl8xxxu_priv *priv, u8 start)
|
||||||
rtl8723a_h2c_cmd(priv, &h2c, sizeof(h2c.bt_wlan_calibration));
|
rtl8723a_h2c_cmd(priv, &h2c, sizeof(h2c.bt_wlan_calibration));
|
||||||
}
|
}
|
||||||
|
|
||||||
static void rtl8723au_phy_iq_calibrate(struct rtl8xxxu_priv *priv)
|
static void rtl8xxxu_gen1_phy_iq_calibrate(struct rtl8xxxu_priv *priv)
|
||||||
{
|
{
|
||||||
struct device *dev = &priv->udev->dev;
|
struct device *dev = &priv->udev->dev;
|
||||||
int result[4][8]; /* last is final result */
|
int result[4][8]; /* last is final result */
|
||||||
|
@ -9882,7 +9882,7 @@ static struct rtl8xxxu_fileops rtl8723au_fops = {
|
||||||
.llt_init = rtl8xxxu_init_llt_table,
|
.llt_init = rtl8xxxu_init_llt_table,
|
||||||
.init_phy_bb = rtl8723au_init_phy_bb,
|
.init_phy_bb = rtl8723au_init_phy_bb,
|
||||||
.init_phy_rf = rtl8723au_init_phy_rf,
|
.init_phy_rf = rtl8723au_init_phy_rf,
|
||||||
.phy_iq_calibrate = rtl8723au_phy_iq_calibrate,
|
.phy_iq_calibrate = rtl8xxxu_gen1_phy_iq_calibrate,
|
||||||
.config_channel = rtl8xxxu_gen1_config_channel,
|
.config_channel = rtl8xxxu_gen1_config_channel,
|
||||||
.parse_rx_desc = rtl8xxxu_parse_rxdesc16,
|
.parse_rx_desc = rtl8xxxu_parse_rxdesc16,
|
||||||
.enable_rf = rtl8723a_enable_rf,
|
.enable_rf = rtl8723a_enable_rf,
|
||||||
|
@ -9954,7 +9954,7 @@ static struct rtl8xxxu_fileops rtl8192cu_fops = {
|
||||||
.llt_init = rtl8xxxu_init_llt_table,
|
.llt_init = rtl8xxxu_init_llt_table,
|
||||||
.init_phy_bb = rtl8723au_init_phy_bb,
|
.init_phy_bb = rtl8723au_init_phy_bb,
|
||||||
.init_phy_rf = rtl8192cu_init_phy_rf,
|
.init_phy_rf = rtl8192cu_init_phy_rf,
|
||||||
.phy_iq_calibrate = rtl8723au_phy_iq_calibrate,
|
.phy_iq_calibrate = rtl8xxxu_gen1_phy_iq_calibrate,
|
||||||
.config_channel = rtl8xxxu_gen1_config_channel,
|
.config_channel = rtl8xxxu_gen1_config_channel,
|
||||||
.parse_rx_desc = rtl8xxxu_parse_rxdesc16,
|
.parse_rx_desc = rtl8xxxu_parse_rxdesc16,
|
||||||
.enable_rf = rtl8723a_enable_rf,
|
.enable_rf = rtl8723a_enable_rf,
|
||||||
|
|
Loading…
Reference in New Issue