aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/realtek/files-5.15
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/realtek/files-5.15')
-rw-r--r--target/linux/realtek/files-5.15/drivers/net/ethernet/rtl838x_eth.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/realtek/files-5.15/drivers/net/ethernet/rtl838x_eth.c b/target/linux/realtek/files-5.15/drivers/net/ethernet/rtl838x_eth.c
index 1c473cc7f3..857d389f12 100644
--- a/target/linux/realtek/files-5.15/drivers/net/ethernet/rtl838x_eth.c
+++ b/target/linux/realtek/files-5.15/drivers/net/ethernet/rtl838x_eth.c
@@ -675,7 +675,7 @@ static void rtl838x_hw_reset(struct rtl838x_eth_priv *priv)
else
reset_mask = 0xc;
- sw_w32(reset_mask, priv->r->rst_glb_ctrl);
+ sw_w32_mask(0, reset_mask, priv->r->rst_glb_ctrl);
do { /* Wait for reset of NIC and Queues done */
udelay(20);