diff options
| author | Russell King (Oracle) <rmk+kernel@armlinux.org.uk> | 2023-05-23 11:16:29 +0100 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2023-05-24 09:13:23 -0700 |
| commit | 883a98ede4b67369569f2bd163015b31b03c3278 (patch) | |
| tree | 7ed216a7158421a553e402be60908b64fd563c2f /net/unix/af_unix.c | |
| parent | net: pcs: xpcs: use phylink_resolve_c73() helper (diff) | |
| download | linux-883a98ede4b67369569f2bd163015b31b03c3278.tar.gz linux-883a98ede4b67369569f2bd163015b31b03c3278.zip | |
net: pcs: xpcs: avoid reading STAT1 more than once
Avoid reading the STAT1 registers more than once while getting the PCS
state, as this register contains latching-low bits that are lost after
the first read.
Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
