]> git.ipfire.org Git - thirdparty/linux.git/commit
net: phy: broadcom: fix BCM54XX_SHD_SCR3_TRDDAPD value for BCM54810
authorKevin Lo <kevlo@kevlo.org>
Thu, 14 May 2020 00:57:33 +0000 (08:57 +0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 15 May 2020 00:40:06 +0000 (17:40 -0700)
commitcc8a677a76f419016b5e231207d09b073f9b1d3f
treeb1181e3a77917aef3e60aece6236f99ba10e7f97
parente776af608f692a7a647455106295fa34469e7475
net: phy: broadcom: fix BCM54XX_SHD_SCR3_TRDDAPD value for BCM54810

Set the correct bit when checking for PHY_BRCM_DIS_TXCRXC_NOENRGY on the
BCM54810 PHY.

Fixes: 0ececcfc9267 ("net: phy: broadcom: Allow BCM54810 to use bcm54xx_adjust_rxrefclk()")
Signed-off-by: Kevin Lo <kevlo@kevlo.org>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/broadcom.c
include/linux/brcmphy.h