diff options
| author | Russell King (Oracle) <[email protected]> | 2023-05-23 10:16:29 +0000 |
|---|---|---|
| committer | Jakub Kicinski <[email protected]> | 2023-05-24 16:13:23 +0000 |
| commit | 883a98ede4b67369569f2bd163015b31b03c3278 (patch) | |
| tree | 7ed216a7158421a553e402be60908b64fd563c2f /net/unix/af_unix.c | |
| parent | net: pcs: xpcs: use phylink_resolve_c73() helper (diff) | |
| download | kernel-883a98ede4b67369569f2bd163015b31b03c3278.tar.gz kernel-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) <[email protected]>
Reviewed-by: Andrew Lunn <[email protected]>
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
