commit | c34f674c8875235725c3ef86147a627f165d23b4 | [log] [tgz] |
---|---|---|
author | Ben Hutchings <ben.hutchings@mind.be> | Tue Aug 10 00:59:12 2021 +0200 |
committer | David S. Miller <davem@davemloft.net> | Tue Aug 10 09:58:14 2021 +0100 |
tree | e075cfa2820412a4f22865f06f1602d7dcfb6e8f | |
parent | 31782a01d14f04bcdd5414861e806937a1db21c4 [diff] |
net: dsa: microchip: Fix ksz_read64() ksz_read64() currently does some dubious byte-swapping on the two halves of a 64-bit register, and then only returns the high bits. Replace this with a straightforward expression. Fixes: e66f840c08a2 ("net: dsa: ksz: Add Microchip KSZ8795 DSA driver") Signed-off-by: Ben Hutchings <ben.hutchings@mind.be> Signed-off-by: David S. Miller <davem@davemloft.net>