RE: [PATCH] ARM: EXYNOS4: Increase reset delay for USB HOST PHY

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Jingoo Han wrote:
> 
> From: Yulgon Kim <yulgon.kim@xxxxxxxxxxx>
> 
> This patch increases reset delay from 50 usec to 80 usec for USB HOST PHY.
> In order to reset USB HOST PHY controller properly, a little extra time is
> required during its reset cycle.
> 
> Signed-off-by: Yulgon Kim <yulgon.kim@xxxxxxxxxxx>
> Signed-off-by: Jingoo Han <jg1.han@xxxxxxxxxxx>
> ---
>  arch/arm/mach-exynos4/setup-usb-phy.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/arch/arm/mach-exynos4/setup-usb-phy.c b/arch/arm/mach-
> exynos4/setup-usb-phy.c
> index 0883c1b..39aca04 100644
> --- a/arch/arm/mach-exynos4/setup-usb-phy.c
> +++ b/arch/arm/mach-exynos4/setup-usb-phy.c
> @@ -82,7 +82,7 @@ static int exynos4_usb_phy1_init(struct platform_device
> *pdev)
> 
>  	rstcon &= ~(HOST_LINK_PORT_SWRST_MASK | PHY1_SWRST_MASK);
>  	writel(rstcon, EXYNOS4_RSTCON);
> -	udelay(50);
> +	udelay(80);
> 
>  	clk_disable(otg_clk);
>  	clk_put(otg_clk);
> --
> 1.7.1

OK, will apply.
But I'm not sure why extra time is required on current kernel not on old
kernel...

Thanks.

Best regards,
Kgene.
--
Kukjin Kim <kgene.kim@xxxxxxxxxxx>, Senior Engineer,
SW Solution Development Team, Samsung Electronics Co., Ltd.

--
To unsubscribe from this list: send the line "unsubscribe linux-samsung-soc" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux SoC Development]     [Linux Rockchip Development]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Linux SCSI]     [Yosemite News]

  Powered by Linux