staging: rtl8723au: Make direct calls for HW_VAR_SET_RPWM
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
c6d921c580
commit
9ff3513cb4
|
@ -263,7 +263,7 @@ void rtw_set_rpwm23a(struct rtw_adapter *padapter, u8 pslv)
|
|||
|
||||
pwrpriv->rpwm = pslv;
|
||||
|
||||
rtw_hal_set_hwreg23a(padapter, HW_VAR_SET_RPWM, (u8 *)(&rpwm));
|
||||
rtl8723a_set_rpwm(padapter, rpwm);
|
||||
|
||||
pwrpriv->tog += 0x80;
|
||||
pwrpriv->cpwm = pslv;
|
||||
|
|
|
@ -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)
|
||||
{
|
||||
switch (variable) {
|
||||
case HW_VAR_SET_RPWM:
|
||||
rtl8723a_set_rpwm(Adapter, *val);
|
||||
break;
|
||||
case HW_VAR_TRIGGER_GPIO_0:
|
||||
rtl8723au_trigger_gpio_0(Adapter);
|
||||
break;
|
||||
|
|
|
@ -44,7 +44,6 @@ enum HW_VARIABLES {
|
|||
HW_VAR_DM_FUNC_SET,
|
||||
HW_VAR_DM_FUNC_CLR,
|
||||
HW_VAR_CAM_READ,
|
||||
HW_VAR_SET_RPWM,
|
||||
HW_VAR_FWLPS_RF_ON,
|
||||
HW_VAR_TDLS_WRCR,
|
||||
HW_VAR_TDLS_INIT_CH_SEN,
|
||||
|
|
Loading…
Reference in a new issue