broadcom: Fix &&/|| confusion in bcm54xx_adjust_rxrefclk()
This always evaluates to true. Signed-off-by: Roel Kluin <roel.kluin@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
		
							parent
							
								
									890c8c1898
								
							
						
					
					
						commit
						7ec4e7d3cf
					
				| @ -331,8 +331,8 @@ static void bcm54xx_adjust_rxrefclk(struct phy_device *phydev) | ||||
| 	bool clk125en = true; | ||||
| 
 | ||||
| 	/* Abort if we are using an untested phy. */ | ||||
| 	if (BRCM_PHY_MODEL(phydev) != PHY_ID_BCM57780 || | ||||
| 	    BRCM_PHY_MODEL(phydev) != PHY_ID_BCM50610 || | ||||
| 	if (BRCM_PHY_MODEL(phydev) != PHY_ID_BCM57780 && | ||||
| 	    BRCM_PHY_MODEL(phydev) != PHY_ID_BCM50610 && | ||||
| 	    BRCM_PHY_MODEL(phydev) != PHY_ID_BCM50610M) | ||||
| 		return; | ||||
| 
 | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user