Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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>

authored by

André Draszik and committed by
Vinod Koul
b45791d4 eb7a22f8

+1
+1
drivers/phy/samsung/phy-exynos5-usbdrd.c
··· 1186 1186 * See xHCI 1.0 spec, 5.2.4 1187 1187 */ 1188 1188 reg |= LINKSYSTEM_XHCI_VERSION_CONTROL; 1189 + reg &= ~LINKSYSTEM_FLADJ; 1189 1190 reg |= FIELD_PREP_CONST(LINKSYSTEM_FLADJ, 0x20); 1190 1191 /* Set VBUSVALID signal as the VBUS pad is not used */ 1191 1192 reg |= LINKSYSTEM_FORCE_BVALID;