greybus: uart: Add gb_uart_request_recv for receiving async UART data
authorBryan O'Donoghue <bryan.odonoghue@linaro.org>
Tue, 2 Jun 2015 12:40:50 +0000 (13:40 +0100)
committerGreg Kroah-Hartman <gregkh@google.com>
Thu, 4 Jun 2015 05:11:05 +0000 (14:11 +0900)
commit1c087015b9ee80829a6e34e36715c668493eb607
treefa0e9269ebd44c7accc9efa1aa486aa2b76afcc8
parentdd1c64ede97f163e5ab2fdebfe3f4095f4638120
greybus: uart: Add gb_uart_request_recv for receiving async UART data

gb_uart_request_recv job in life is to process unsolicited greybus
mesages from the UART.
Hook the incoming UART data and pass to the TTY layer.
Line-state changes still TBD.

Signed-off-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
drivers/staging/greybus/uart.c