Commit 5ee6f6a1 authored by Roel Kluin's avatar Roel Kluin Committed by David S. Miller

broadcom: bcm54xx_shadow_read() errors ignored in bcm54xx_adjust_rxrefclk()

If not signed read errors are ignored.
Signed-off-by: default avatarRoel Kluin <roel.kluin@gmail.com>
Acked-by: default avatarMatt Carlson <mcarlson@broadcom.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent db94ce90
...@@ -326,7 +326,8 @@ static int bcm54xx_phydsp_config(struct phy_device *phydev) ...@@ -326,7 +326,8 @@ static int bcm54xx_phydsp_config(struct phy_device *phydev)
static void bcm54xx_adjust_rxrefclk(struct phy_device *phydev) static void bcm54xx_adjust_rxrefclk(struct phy_device *phydev)
{ {
u32 val, orig; u32 orig;
int val;
bool clk125en = true; bool clk125en = true;
/* Abort if we are using an untested phy. */ /* Abort if we are using an untested phy. */
......
Markdown is supported
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