tty: serial: owl: Add support for kernel debugger
authorCristian Ciocaltea <cristian.ciocaltea@gmail.com>
Tue, 12 Jan 2021 20:55:38 +0000 (22:55 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 13 Jan 2021 16:16:54 +0000 (17:16 +0100)
commit9335e23ddc33b5298b4cefdecc962736449fe596
treebeeff2e6a80259bc63682517c1fc0cbf13c33e85
parentc9cd57bf57fd450972a7802b9f09a680dbb4634e
tty: serial: owl: Add support for kernel debugger

Implement 'poll_put_char' and 'poll_get_char' callbacks in struct
'owl_uart_ops' that enables OWL UART to be used for kernel debugging
over serial line.

Signed-off-by: Cristian Ciocaltea <cristian.ciocaltea@gmail.com>
Link: https://lore.kernel.org/r/026543195b9aeefb339d90abc5660a6ac7463c63.1610484108.git.cristian.ciocaltea@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/owl-uart.c