]> Git Repo - linux.git/commit
net: pcs: xpcs: fix the wrong register that was written back
authorJiawen Wu <[email protected]>
Tue, 24 Sep 2024 02:28:57 +0000 (10:28 +0800)
committerPaolo Abeni <[email protected]>
Tue, 1 Oct 2024 09:00:50 +0000 (11:00 +0200)
commit93ef6ee5c20e9330477930ec6347672c9e0cf5a6
treeb7630af92fefef58f3283c7ef89e6c0f93ec0b81
parent45c0de18ff2dc9af01236380404bbd6a46502c69
net: pcs: xpcs: fix the wrong register that was written back

The value is read from the register TXGBE_RX_GEN_CTL3, and it should be
written back to TXGBE_RX_GEN_CTL3 when it changes some fields.

Cc: [email protected]
Fixes: f629acc6f210 ("net: pcs: xpcs: support to switch mode for Wangxun NICs")
Signed-off-by: Jiawen Wu <[email protected]>
Reported-by: Russell King (Oracle) <[email protected]>
Reviewed-by: Russell King (Oracle) <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Paolo Abeni <[email protected]>
drivers/net/pcs/pcs-xpcs-wx.c
This page took 0.052746 seconds and 4 git commands to generate.