mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-25 17:55:10 +07:00
rtl8xxxu: Do not mask RF registers to 6 bits
Newer chips have RF registers beyond the original 0x3f address. Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com> Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
This commit is contained in:
parent
a9ffa615aa
commit
dc254ca411
@ -2536,8 +2536,6 @@ static int rtl8xxxu_init_rf_regs(struct rtl8xxxu_priv *priv,
|
|||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
reg &= 0x3f;
|
|
||||||
|
|
||||||
ret = rtl8xxxu_write_rfreg(priv, path, reg, val);
|
ret = rtl8xxxu_write_rfreg(priv, path, reg, val);
|
||||||
if (ret) {
|
if (ret) {
|
||||||
dev_warn(&priv->udev->dev,
|
dev_warn(&priv->udev->dev,
|
||||||
|
Loading…
Reference in New Issue
Block a user