Commit 3ee2266c authored by Bryan O'Donoghue's avatar Bryan O'Donoghue Committed by Greg Kroah-Hartman

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: default avatarBryan O'Donoghue <bryan.odonoghue@linaro.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@google.com>
parent fd7b435f
......@@ -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,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment