Commit 9ff3513c authored by Jes Sorensen's avatar Jes Sorensen Committed by Greg Kroah-Hartman

staging: rtl8723au: Make direct calls for HW_VAR_SET_RPWM

Signed-off-by: default avatarJes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent c6d921c5
...@@ -263,7 +263,7 @@ void rtw_set_rpwm23a(struct rtw_adapter *padapter, u8 pslv) ...@@ -263,7 +263,7 @@ void rtw_set_rpwm23a(struct rtw_adapter *padapter, u8 pslv)
pwrpriv->rpwm = pslv; pwrpriv->rpwm = pslv;
rtw_hal_set_hwreg23a(padapter, HW_VAR_SET_RPWM, (u8 *)(&rpwm)); rtl8723a_set_rpwm(padapter, rpwm);
pwrpriv->tog += 0x80; pwrpriv->tog += 0x80;
pwrpriv->cpwm = pslv; pwrpriv->cpwm = pslv;
......
...@@ -1519,9 +1519,6 @@ static void rtl8723au_trigger_gpio_0(struct rtw_adapter *padapter) ...@@ -1519,9 +1519,6 @@ static void rtl8723au_trigger_gpio_0(struct rtw_adapter *padapter)
static void SetHwReg8723AU(struct rtw_adapter *Adapter, u8 variable, u8 *val) static void SetHwReg8723AU(struct rtw_adapter *Adapter, u8 variable, u8 *val)
{ {
switch (variable) { switch (variable) {
case HW_VAR_SET_RPWM:
rtl8723a_set_rpwm(Adapter, *val);
break;
case HW_VAR_TRIGGER_GPIO_0: case HW_VAR_TRIGGER_GPIO_0:
rtl8723au_trigger_gpio_0(Adapter); rtl8723au_trigger_gpio_0(Adapter);
break; break;
......
...@@ -44,7 +44,6 @@ enum HW_VARIABLES { ...@@ -44,7 +44,6 @@ enum HW_VARIABLES {
HW_VAR_DM_FUNC_SET, HW_VAR_DM_FUNC_SET,
HW_VAR_DM_FUNC_CLR, HW_VAR_DM_FUNC_CLR,
HW_VAR_CAM_READ, HW_VAR_CAM_READ,
HW_VAR_SET_RPWM,
HW_VAR_FWLPS_RF_ON, HW_VAR_FWLPS_RF_ON,
HW_VAR_TDLS_WRCR, HW_VAR_TDLS_WRCR,
HW_VAR_TDLS_INIT_CH_SEN, HW_VAR_TDLS_INIT_CH_SEN,
......
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