]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
sh: sh7786: modify usb setup timeout judgment bug.
authorKuninori Morimoto <morimoto.kuninori@renesas.com>
Fri, 10 Apr 2009 00:54:07 +0000 (00:54 +0000)
committerPaul Mundt <lethal@linux-sh.org>
Mon, 13 Apr 2009 22:25:35 +0000 (07:25 +0900)
commit0ee50254dfe0c96f9eef4fc9fdf47a18d6a12df3
treee5dd3e586d13e3aa4b454152ad4606eff81c57b7
parent066069e14f6b4651293ae0865c121bcb2b360666
sh: sh7786: modify usb setup timeout judgment bug.

This corrects a race with the PHY RST bit not being set properly if the
PLL status changes right before timeout. This resulted in it potentially
failing even if the device came up in time.

Special thanks to Mr. Juha Leppanen and Iwamatsu-san for reporting this
out and reviewing it.

Reported-by: Juha Leppanen <juha_motorsportcom@luukku.com>
Reviewed-by: Nobuhiro Iwamatsu <iwamatsu.nobuhiro@renesas.com>
Tested-by: Paul Mundt <lethal@linux-sh.org>
Signed-off-by: Kuninori Morimoto <morimoto.kuninori@renesas.com>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/kernel/cpu/sh4a/setup-sh7786.c