From 3ee2266c720520dd2bcf90974f184a22d6e53d06 Mon Sep 17 00:00:00 2001 From: Bryan O'Donoghue Date: Tue, 16 Jun 2015 11:28:11 +0100 Subject: [PATCH] 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 --- drivers/staging/greybus/uart.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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, -- 2.39.5