698cd335a7
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> |
||
---|---|---|
.. | ||
c2k.c | ||
flipper-pic.c | ||
flipper-pic.h | ||
gamecube.c | ||
hlwd-pic.c | ||
hlwd-pic.h | ||
holly.c | ||
Kconfig | ||
linkstation.c | ||
ls_uart.c | ||
Makefile | ||
mpc10x.h | ||
mpc7448_hpc2.c | ||
prpmc2800.c | ||
storcenter.c | ||
usbgecko_udbg.c | ||
usbgecko_udbg.h | ||
wii.c |