Skip to contentSkip to conversation

phy: cadence: salvo: fix wrong bit definition

PATCH Applied Peter Chen 2 participants 2 messages Jul 3, 2020 – Jul 13, 2020

Subsystems (2)
lore
Share & tools
lore

Peter Chen

author
#0 lore raw

PATCH 1/1 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")
---
 drivers/phy/cadence/phy-cadence-salvo.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/phy/cadence/phy-cadence-salvo.c +1 -1
index 1ecbb964cd21..016514e4aa54 100644
@@ -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;
Signature · 1 line
2.17.1
maintainer Applied
#1 lore raw
Quoted 2 lines · Peter Chen

It fixes RX detect wakeup using USB3 device, otherwise, the USB3 device can't wakeup USB PHY when the PHY is in 32Khz clock.

Applied, thanks

Signature · 1 line
~Vinod