mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-23 21:19:04 -04:00
[PATCH] powerpc: udbg updates
The udbg low level io layer has an issue with udbg_getc() returning a char (unsigned on ppc) instead of an int, thus the -1 if you had no available input device could end up turned into 0xff, filling your display with bogus characters. This fixes it, along with adding a little blob to xmon to do a delay before exiting when getting an EOF and fixing the detection of ADB keyboards in udbg_adb.c Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org> Signed-off-by: Paul Mackerras <paulus@samba.org>
This commit is contained in:
parent
54b9a9aedc
commit
bb6b9b28d6
9 changed files with 24 additions and 19 deletions
|
|
@ -14,7 +14,7 @@
|
|||
#include <linux/init.h>
|
||||
|
||||
extern void (*udbg_putc)(char c);
|
||||
extern char (*udbg_getc)(void);
|
||||
extern int (*udbg_getc)(void);
|
||||
extern int (*udbg_getc_poll)(void);
|
||||
|
||||
extern void udbg_puts(const char *s);
|
||||
|
|
|
|||
Loading…
Reference in a new issue