Skip to content
Commit 5914019d authored by Oleksij Rempel's avatar Oleksij Rempel Committed by Greg Kroah-Hartman
Browse files

net: phy: at803x: fix clock sink configuration on ATH8030 and ATH8035

[ Upstream commit b1f4c209 ]

The masks in priv->clk_25m_reg and priv->clk_25m_mask are one-bits-set
for the values that comprise the fields, not zero-bits-set.

This patch fixes the clock frequency configuration for ATH8030 and
ATH8035 Atheros PHYs by removing the erroneous "~".

To reproduce this bug, configure the PHY  with the device tree binding
"qca,clk-out-frequency" and remove the machine specific PHY fixups.

Fixes: 2f664823

 ("net: phy: at803x: add device tree binding")
Signed-off-by: default avatarOleksij Rempel <o.rempel@pengutronix.de>
Reported-by: default avatarRussell King <rmk+kernel@armlinux.org.uk>
Reviewed-by: default avatarRussell King <rmk+kernel@armlinux.org.uk>
Tested-by: default avatarRussell King <rmk+kernel@armlinux.org.uk>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 200482d2
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment