mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-11-01 17:08:10 +00:00
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 <bryan.odonoghue@linaro.org> Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
This commit is contained in:
parent
fd7b435f21
commit
3ee2266c72
1 changed files with 1 additions and 1 deletions
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue