From: Bryan O'Donoghue Date: Tue, 16 Jun 2015 10:28:11 +0000 (+0100) Subject: greybus: uart: Latch modem control signals for tciomget X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=3ee2266c720520dd2bcf90974f184a22d6e53d06;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git greybus: uart: Latch modem control signals for tciomget Latch signals coming from UART module for - GB_UART_CTRL_DCD - GB_UART_CTRL_DSR - GB_UART_CTRL_RI Signed-off-by: Bryan O'Donoghue Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/greybus/uart.c b/drivers/staging/greybus/uart.c index 20928702a5b2..3b06cd46694b 100644 --- a/drivers/staging/greybus/uart.c +++ b/drivers/staging/greybus/uart.c @@ -102,7 +102,7 @@ static int gb_uart_request_recv(u8 type, struct gb_operation *op) break; case GB_UART_TYPE_SERIAL_STATE: serial_state = request->payload; - /* TODO: Parse state change and translate to tty API. */ + gb_tty->ctrlin = le16_to_cpu(serial_state->control); break; default: dev_err(&connection->dev,