Skip to content

Commit 5987feb

Browse files
Dan Carpenterdavem330
authored andcommitted
net: phy: marvell: logical vs bitwise OR typo
This was supposed to be a bitwise OR but there is a || vs | typo. Fixes: 864dc72 ("net: phy: marvell: Refactor m88e1121 RGMII delay configuration") Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Reviewed-by: Andrew Lunn <andrew@lunn.ch> Signed-off-by: David S. Miller <davem@davemloft.net>
1 parent 3561599 commit 5987feb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/net/phy/marvell.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@
8383
#define MII_88E1121_PHY_MSCR_REG 21
8484
#define MII_88E1121_PHY_MSCR_RX_DELAY BIT(5)
8585
#define MII_88E1121_PHY_MSCR_TX_DELAY BIT(4)
86-
#define MII_88E1121_PHY_MSCR_DELAY_MASK (~(BIT(5) || BIT(4)))
86+
#define MII_88E1121_PHY_MSCR_DELAY_MASK (~(BIT(5) | BIT(4)))
8787

8888
#define MII_88E1121_MISC_TEST 0x1a
8989
#define MII_88E1510_MISC_TEST_TEMP_THRESHOLD_MASK 0x1f00

0 commit comments

Comments
 (0)