Skip to content

Commit b45791d

Browse files
andredvinodkoul
authored andcommitted
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: 588d5d2 ("phy: exynos5-usbdrd: add exynos7870 USBDRD support") Signed-off-by: André Draszik <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Vinod Koul <[email protected]>
1 parent eb7a22f commit b45791d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/phy/samsung/phy-exynos5-usbdrd.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1186,6 +1186,7 @@ static void exynos7870_usbdrd_utmi_init(struct exynos5_usbdrd_phy *phy_drd)
11861186
* See xHCI 1.0 spec, 5.2.4
11871187
*/
11881188
reg |= LINKSYSTEM_XHCI_VERSION_CONTROL;
1189+
reg &= ~LINKSYSTEM_FLADJ;
11891190
reg |= FIELD_PREP_CONST(LINKSYSTEM_FLADJ, 0x20);
11901191
/* Set VBUSVALID signal as the VBUS pad is not used */
11911192
reg |= LINKSYSTEM_FORCE_BVALID;

0 commit comments

Comments
 (0)