linux-brain/drivers/net/dsa/microchip
Ben Hutchings 13a381b8bc net: dsa: microchip: Fix ksz_read64()
[ Upstream commit c34f674c8875235725c3ef86147a627f165d23b4 ]

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: e66f840c08 ("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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2021-08-18 08:56:59 +02:00
..
Kconfig net: dsa: microchip: add KSZ9477 I2C driver 2019-09-12 11:36:12 +01:00
Makefile net: dsa: microchip: add KSZ9477 I2C driver 2019-09-12 11:36:12 +01:00
ksz8795.c Revert "net: dsa: microchip: set the correct number of ports" 2020-09-09 19:12:32 +02:00
ksz8795_reg.h net: dsa: ksz: Add Microchip KSZ8795 DSA driver 2019-07-30 15:12:50 -07:00
ksz8795_spi.c net: dsa: microchip: Add shared regmap mutex 2019-10-17 15:38:46 -04:00
ksz9477.c net: dsa: microchip: enable phy errata workaround on 9567 2021-06-16 11:59:36 +02:00
ksz9477_i2c.c net: dsa: microchip: Add shared regmap mutex 2019-10-17 15:38:46 -04:00
ksz9477_reg.h net: dsa: microchip: Use the correct style for SPDX License Identifier 2019-10-15 14:59:58 -07:00
ksz9477_spi.c net: dsa: microchip: enable module autoprobe 2020-02-11 04:35:49 -08:00
ksz_common.c net: dsa: microchip: call phy_remove_link_mode during probe 2020-07-29 10:18:33 +02:00
ksz_common.h net: dsa: microchip: Fix ksz_read64() 2021-08-18 08:56:59 +02:00