projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fa55b7d
)
phy: stm32: fix st,slow-hs-slew-rate with st,decrease-hs-slew-rate
author
Amelie Delaunay
<amelie.delaunay@foss.st.com>
Tue, 26 Oct 2021 15:48:17 +0000
(17:48 +0200)
committer
Vinod Koul
<vkoul@kernel.org>
Tue, 16 Nov 2021 09:58:51 +0000
(15:28 +0530)
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>
Link:
https://lore.kernel.org/r/20211026154817.198937-1-amelie.delaunay@foss.st.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/phy/st/phy-stm32-usbphyc.c
patch
|
blob
|
history
diff --git
a/drivers/phy/st/phy-stm32-usbphyc.c
b/drivers/phy/st/phy-stm32-usbphyc.c
index 7df6a63ad37ba7f1f7aaaa780a67f7750d3e70a3..e4f4a9be513200a43bbc343b32349f56687f1902 100644
(file)
--- 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);