diff mbox series

[1/1] phy: cadence: salvo: fix wrong bit definition

Message ID 20200703064600.14181-1-peter.chen@nxp.com (mailing list archive)
State Mainlined
Commit 270ff6048f45759d31a7b62d3983b084153837f5
Headers show
Series [1/1] phy: cadence: salvo: fix wrong bit definition | expand

Commit Message

Peter Chen July 3, 2020, 6:46 a.m. UTC
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>
---
 drivers/phy/cadence/phy-cadence-salvo.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Vinod Koul July 13, 2020, 5:09 a.m. UTC | #1
On 03-07-20, 14:46, Peter Chen wrote:
> 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
diff mbox series

Patch

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;