aboutsummaryrefslogtreecommitdiff
path: root/drivers/phy/cadence
diff options
context:
space:
mode:
authorGravatar Peter Chen <peter.chen@nxp.com> 2020-07-03 14:46:00 +0800
committerGravatar Vinod Koul <vkoul@kernel.org> 2020-07-13 10:39:44 +0530
commit270ff6048f45759d31a7b62d3983b084153837f5 (patch)
tree4cb6bdd46cf24791502735dd3201977ebbe50e4c /drivers/phy/cadence
parentphy: allwinner: phy-sun6i-mipi-dphy: Constify structs (diff)
downloadlinux-270ff6048f45759d31a7b62d3983b084153837f5.tar.gz
linux-270ff6048f45759d31a7b62d3983b084153837f5.tar.bz2
linux-270ff6048f45759d31a7b62d3983b084153837f5.zip
phy: cadence: salvo: fix wrong bit definition
It fixes RX detect wakeup using USB3 device, otherwise, the USB3 device can't wakeup USB PHY when the PHY is in 32Khz clock. Fixes: 50d35aa8c15f ("phy: cadence: salvo: add salvo phy driver") Signed-off-by: Peter Chen <peter.chen@nxp.com> Link: https://lore.kernel.org/r/20200703064600.14181-1-peter.chen@nxp.com Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'drivers/phy/cadence')
-rw-r--r--drivers/phy/cadence/phy-cadence-salvo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/phy/cadence/phy-cadence-salvo.c b/drivers/phy/cadence/phy-cadence-salvo.c
index 1ecbb964cd21..016514e4aa54 100644
--- a/drivers/phy/cadence/phy-cadence-salvo.c
+++ b/drivers/phy/cadence/phy-cadence-salvo.c
@@ -88,7 +88,7 @@
#define TB_ADDR_TX_RCVDETSC_CTRL 0x4124
/* TB_ADDR_TX_RCVDETSC_CTRL */
-#define RXDET_IN_P3_32KHZ BIT(1)
+#define RXDET_IN_P3_32KHZ BIT(0)
struct cdns_reg_pairs {
u16 val;