diff options
| author | André Draszik <andre.draszik@linaro.org> | 2025-04-29 09:49:24 +0100 |
|---|---|---|
| committer | Vinod Koul <vkoul@kernel.org> | 2025-05-14 10:11:40 +0100 |
| commit | b45791d48752418c805ae7417dcea85a40d5a41e (patch) | |
| tree | 2533f0af5d0ada34d9c906ee7fc72c0d6c517bab | |
| parent | eb7a22f830f68997d76e660a02143c2bc72e7fb7 (diff) | |
phy: exynos5-usbdrd: fix setting LINKSYSTEM_FLADJ on exynos7870
The code here is trying to set the FLADJ field to 0x20, so it should
clear any previous value in that field before or'ing-in the new value.
Fixes: 588d5d20ca8d ("phy: exynos5-usbdrd: add exynos7870 USBDRD support")
Signed-off-by: André Draszik <andre.draszik@linaro.org>
Link: https://lore.kernel.org/r/20250429-exynos5-phy-field-prep-v1-1-39eb279a3e0e@linaro.org
Signed-off-by: Vinod Koul <vkoul@kernel.org>
| -rw-r--r-- | drivers/phy/samsung/phy-exynos5-usbdrd.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/phy/samsung/phy-exynos5-usbdrd.c b/drivers/phy/samsung/phy-exynos5-usbdrd.c index 634c4310c660..4ea1fabd4d6f 100644 --- a/drivers/phy/samsung/phy-exynos5-usbdrd.c +++ b/drivers/phy/samsung/phy-exynos5-usbdrd.c @@ -1186,6 +1186,7 @@ static void exynos7870_usbdrd_utmi_init(struct exynos5_usbdrd_phy *phy_drd) * See xHCI 1.0 spec, 5.2.4 */ reg |= LINKSYSTEM_XHCI_VERSION_CONTROL; + reg &= ~LINKSYSTEM_FLADJ; reg |= FIELD_PREP_CONST(LINKSYSTEM_FLADJ, 0x20); /* Set VBUSVALID signal as the VBUS pad is not used */ reg |= LINKSYSTEM_FORCE_BVALID; |
