mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-29 22:14:41 +08:00
rtl8xxxu: Set REG_USB_HRPWM for 8192eu
The vendor driver set register 0xfe58 REG_USB_HWPWM in it's init sequence for 8192eu. Do the same here. Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com> Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
This commit is contained in:
parent
57e5e2e650
commit
3021e51f2b
@ -7225,6 +7225,8 @@ static int rtl8xxxu_init_device(struct ieee80211_hw *hw)
|
||||
val32 |= FPGA_RF_MODE_CCK;
|
||||
rtl8xxxu_write32(priv, REG_FPGA0_RF_MODE, val32);
|
||||
}
|
||||
} else if (priv->rtl_chip == RTL8192E) {
|
||||
rtl8xxxu_write8(priv, REG_USB_HRPWM, 0x00);
|
||||
}
|
||||
|
||||
val32 = rtl8xxxu_read32(priv, REG_FWHW_TXQ_CTRL);
|
||||
|
@ -1043,6 +1043,7 @@
|
||||
#define USB_HIMR_ROK BIT(0) /* Receive DMA OK Interrupt */
|
||||
|
||||
#define REG_USB_SPECIAL_OPTION 0xfe55
|
||||
#define REG_USB_HRPWM 0xfe58
|
||||
#define REG_USB_DMA_AGG_TO 0xfe5b
|
||||
#define REG_USB_AGG_TO 0xfe5c
|
||||
#define REG_USB_AGG_TH 0xfe5d
|
||||
|
Loading…
Reference in New Issue
Block a user