Revert "arm: dcc_tty: fix armv6 dcc tty build failure"
This reverts commitdfc1d4be88
. Drop AOSP's "armv6 dcc tty driver" in favor of upstream DCC driver for ARMv6/v716c63f8ea4
(drivers: char: hvc: add arm JTAG DCC console support) and for ARMv84cad4c57e0
(ARM64: TTY: hvc_dcc: Add support for ARM64 dcc). Change-Id: I8110a4fd649b8ac1ec9bfac00255c1214135e4b2 Signed-off-by: Amit Pundir <amit.pundir@linaro.org>
This commit is contained in:
parent
9f6f7a2724
commit
dbe3b633a7
1 changed files with 3 additions and 3 deletions
|
@ -26,7 +26,7 @@ MODULE_DESCRIPTION("DCC TTY Driver");
|
||||||
MODULE_LICENSE("GPL");
|
MODULE_LICENSE("GPL");
|
||||||
MODULE_VERSION("1.0");
|
MODULE_VERSION("1.0");
|
||||||
|
|
||||||
DEFINE_SPINLOCK(g_dcc_tty_lock);
|
static spinlock_t g_dcc_tty_lock = SPIN_LOCK_UNLOCKED;
|
||||||
static struct hrtimer g_dcc_timer;
|
static struct hrtimer g_dcc_timer;
|
||||||
static char g_dcc_buffer[16];
|
static char g_dcc_buffer[16];
|
||||||
static int g_dcc_buffer_head;
|
static int g_dcc_buffer_head;
|
||||||
|
@ -80,8 +80,8 @@ static void dcc_poll_locked(void)
|
||||||
);
|
);
|
||||||
if (rch >= 0) {
|
if (rch >= 0) {
|
||||||
ch = rch;
|
ch = rch;
|
||||||
tty_insert_flip_string(g_dcc_tty->port, &ch, 1);
|
tty_insert_flip_string(g_dcc_tty, &ch, 1);
|
||||||
tty_flip_buffer_push(g_dcc_tty->port);
|
tty_flip_buffer_push(g_dcc_tty);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue