phy: cadence: salvo: fix wrong bit definition
Subsystems (2)
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")
Signed-off-by Peter Chen <[email protected]>
--- drivers/phy/cadence/phy-cadence-salvo.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/phy/cadence/phy-cadence-salvo.c +1 -1
@@ -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
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