diff mbox series

[1/1] phy: stm32: fix st, slow-hs-slew-rate with st, decrease-hs-slew-rate

Message ID 20211026154817.198937-1-amelie.delaunay@foss.st.com
State Accepted
Commit 8755e9e6d0e41336879035d2280f7a4a24236543
Headers show
Series [1/1] phy: stm32: fix st, slow-hs-slew-rate with st, decrease-hs-slew-rate | expand

Commit Message

Amelie Delaunay Oct. 26, 2021, 3:48 p.m. UTC
st,decrease-hs-slew-rate is described in phy-stm32-usbphyc.yaml. Then
fix the property name in driver.

Fixes: 2f5e9f815a2f ("phy: stm32: add phy tuning support")
Signed-off-by: Amelie Delaunay <amelie.delaunay@foss.st.com>
---
 drivers/phy/st/phy-stm32-usbphyc.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Amelie Delaunay Nov. 15, 2021, 10:25 a.m. UTC | #1
Hi,

Kind reminder.

Regards,
Amelie

On 10/26/21 5:48 PM, Amelie Delaunay wrote:
> st,decrease-hs-slew-rate is described in phy-stm32-usbphyc.yaml. Then
> fix the property name in driver.
> 
> Fixes: 2f5e9f815a2f ("phy: stm32: add phy tuning support")
> Signed-off-by: Amelie Delaunay <amelie.delaunay@foss.st.com>
> ---
>   drivers/phy/st/phy-stm32-usbphyc.c | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/phy/st/phy-stm32-usbphyc.c b/drivers/phy/st/phy-stm32-usbphyc.c
> index 7df6a63ad37b..e4f4a9be5132 100644
> --- a/drivers/phy/st/phy-stm32-usbphyc.c
> +++ b/drivers/phy/st/phy-stm32-usbphyc.c
> @@ -478,7 +478,7 @@ static void stm32_usbphyc_phy_tuning(struct stm32_usbphyc *usbphyc,
>   	if (!of_property_read_bool(np, "st,no-lsfs-fb-cap"))
>   		usbphyc_phy->tune |= LFSCAPEN;
>   
> -	if (of_property_read_bool(np, "st,slow-hs-slew-rate"))
> +	if (of_property_read_bool(np, "st,decrease-hs-slew-rate"))
>   		usbphyc_phy->tune |= HSDRVSLEW;
>   
>   	ret = of_property_read_u32(np, "st,tune-hs-dc-level", &val);
>
Vinod Koul Nov. 16, 2021, 9:58 a.m. UTC | #2
On 26-10-21, 17:48, Amelie Delaunay wrote:
> st,decrease-hs-slew-rate is described in phy-stm32-usbphyc.yaml. Then
> fix the property name in driver.

Applied, thanks
diff mbox series

Patch

diff --git a/drivers/phy/st/phy-stm32-usbphyc.c b/drivers/phy/st/phy-stm32-usbphyc.c
index 7df6a63ad37b..e4f4a9be5132 100644
--- a/drivers/phy/st/phy-stm32-usbphyc.c
+++ b/drivers/phy/st/phy-stm32-usbphyc.c
@@ -478,7 +478,7 @@  static void stm32_usbphyc_phy_tuning(struct stm32_usbphyc *usbphyc,
 	if (!of_property_read_bool(np, "st,no-lsfs-fb-cap"))
 		usbphyc_phy->tune |= LFSCAPEN;
 
-	if (of_property_read_bool(np, "st,slow-hs-slew-rate"))
+	if (of_property_read_bool(np, "st,decrease-hs-slew-rate"))
 		usbphyc_phy->tune |= HSDRVSLEW;
 
 	ret = of_property_read_u32(np, "st,tune-hs-dc-level", &val);