ipq40xx: qca807x: always set PSGMII AZ WAR
authorRobert Marko <robert.marko@sartura.hr>
Mon, 8 Nov 2021 22:06:02 +0000 (23:06 +0100)
committerDavid Bauer <mail@david-bauer.net>
Sun, 2 Oct 2022 21:04:38 +0000 (23:04 +0200)
commit45ad5beb809ea9421c0b150c8f03e5b24952b4ae
tree44ae5bd8f7db3c252a089156bbdfef5fa5a89538
parentacc4add9a762dc2d29f9e2d6026b1f63e2f0bfa7
ipq40xx: qca807x: always set PSGMII AZ WAR

There is no point in using a DT property to trigger setting the PSGMII
PHY AZ transmitting ability.
Especially since EEE can be disabled using ethtool anyway.

Fixup the mask for setting the workaround as only BIT(0) is actually being
changed and use the phy_clear_bits_mmd helper instead of reading, then
clearing the bit and writing back as it does everything for us.

Signed-off-by: Robert Marko <robert.marko@sartura.hr>
target/linux/ipq40xx/files/drivers/net/phy/qca807x.c
target/linux/ipq40xx/patches-5.10/708-arm-dts-ipq4019-QCA807x-properties.patch
target/linux/ipq40xx/patches-5.15/708-arm-dts-ipq4019-QCA807x-properties.patch