summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorFlorian Fainelli <f.fainelli@gmail.com>2021-09-23 23:57:32 +0300
committerDavid S. Miller <davem@davemloft.net>2021-09-24 16:15:56 +0300
commitae98f40d32cd0ee6fc222e765734ffa497a0a95e (patch)
tree80bde343183351f6dc45609dca7e3a93b66d8b88 /include/linux
parent8fd8441502ebf3eda9ba60727aedf5973c1ea136 (diff)
downloadlinux-ae98f40d32cd0ee6fc222e765734ffa497a0a95e.tar.xz
net: phy: broadcom: Fix PHY_BRCM_IDDQ_SUSPEND definition
An extraneous number was added during the inclusion of that change, correct that such that we use a single bit as is expected by the PHY driver. Reported-by: Justin Chen <justinpopo6@gmail.com> Fixes: d6da08ed1425 ("net: phy: broadcom: Add IDDQ-SR mode") Signed-off-by: Florian Fainelli <f.fainelli@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/brcmphy.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/brcmphy.h b/include/linux/brcmphy.h
index b119d6819d6c..27d9b6683f0e 100644
--- a/include/linux/brcmphy.h
+++ b/include/linux/brcmphy.h
@@ -67,7 +67,7 @@
#define PHY_BRCM_CLEAR_RGMII_MODE 0x00000004
#define PHY_BRCM_DIS_TXCRXC_NOENRGY 0x00000008
#define PHY_BRCM_EN_MASTER_MODE 0x00000010
-#define PHY_BRCM_IDDQ_SUSPEND 0x000000220
+#define PHY_BRCM_IDDQ_SUSPEND 0x00000020
/* Broadcom BCM7xxx specific workarounds */
#define PHY_BRCM_7XXX_REV(x) (((x) >> 8) & 0xff)