1
linux/arch/powerpc/platforms/embedded6xx
Albert Herranz 698cd335a7 powerpc/gamecube/wii: Fix off-by-one error in ugecon/usbgecko_udbg
The retry logic in ug_putc() is broken.

If the TX fifo is not ready and the counter runs out it will have a
value of -1 and no transfer should be attempted. Also, a counter
with a value of 0 means that the TX fifo got ready in the last try
and the transfer should be attempted.

Reported-by: "Juha Leppanen" <juha_motorsportcom@luukku.com>
Signed-off-by: "Juha Leppanen" <juha_motorsportcom@luukku.com>
Signed-off-by: Albert Herranz <albert_herranz@yahoo.es>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
2009-12-18 15:13:57 +11:00
..
c2k.c powerpc: Remove default kexec/crash_kernel ops assignments 2008-12-23 15:13:28 +11:00
flipper-pic.c powerpc: gamecube/wii: flipper interrupt controller support 2009-12-12 22:24:28 -07:00
flipper-pic.h powerpc: gamecube/wii: flipper interrupt controller support 2009-12-12 22:24:28 -07:00
gamecube.c powerpc: gamecube: platform support 2009-12-12 22:24:28 -07:00
hlwd-pic.c powerpc: wii: hollywood interrupt controller support 2009-12-12 22:24:30 -07:00
hlwd-pic.h powerpc: wii: hollywood interrupt controller support 2009-12-12 22:24:30 -07:00
holly.c
Kconfig powerpc: wii: platform support 2009-12-12 22:24:30 -07:00
linkstation.c powerpc: fix linkstation and storcenter compilation breakage 2009-03-09 11:10:58 -05:00
ls_uart.c
Makefile powerpc: wii: platform support 2009-12-12 22:24:30 -07:00
mpc10x.h
mpc7448_hpc2.c
prpmc2800.c powerpc: Remove default kexec/crash_kernel ops assignments 2008-12-23 15:13:28 +11:00
storcenter.c powerpc: fix linkstation and storcenter compilation breakage 2009-03-09 11:10:58 -05:00
usbgecko_udbg.c powerpc/gamecube/wii: Fix off-by-one error in ugecon/usbgecko_udbg 2009-12-18 15:13:57 +11:00
usbgecko_udbg.h powerpc: gamecube/wii: early debugging using usbgecko 2009-12-12 22:24:31 -07:00
wii.c powerpc: wii: allow ioremap within the memory hole 2009-12-12 22:24:32 -07:00