usb: host: ehci: samsung: fix wrong register value
authorHyunseok Jung <hsjung@nexell.co.kr>
Thu, 2 Mar 2017 05:32:31 +0000 (14:32 +0900)
committerHyunseok Jung <hsjung@nexell.co.kr>
Thu, 2 Mar 2017 05:32:31 +0000 (14:32 +0900)
This patch fixes wrong register value.
HOST_SS_FLADJ_VAL_HOST register controls the length
of the frame and affects SOF.

Change-Id: I7d4597cf558349c35c6c8451f3b2be91eb973cb8
Signed-off-by: Hyunseok Jung <hsjung@nexell.co.kr>
drivers/usb/host/ehci-exynos.c

index d3d99be5c4f7d58b3eda273abef854853337d34f..8a0f1f4f90a517970b9516ff5f01615fff2680b1 100644 (file)
@@ -91,7 +91,8 @@ static int ehci_usb_ofdata_to_platdata(struct udevice *dev)
 #if defined(CONFIG_ARCH_NEXELL)
 static void nx_setup_usb_phy(struct nx_usb_phy *usb)
 {
-       nx_tieoff_set(NX_TIEOFF_USB20HOST0_ss_fladj_val_0_i, 0x7);
+       nx_tieoff_set(NX_TIEOFF_USB20HOST0_ss_fladj_val_host_i, 0x20);
+       nx_tieoff_set(NX_TIEOFF_USB20HOST0_ss_fladj_val_5_i, 0x7);
 
        nx_rstcon_setrst(RESET_ID_USB20HOST, RSTCON_ASSERT);
        nx_rstcon_setrst(RESET_ID_USB20HOST, RSTCON_NEGATE);