mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-08 12:58:12 -04:00
serial: msm_geni_serial: Reset UART error code to default during shutdown
Currently driver is seting UART error code to default only when BT host calling TIOCFAULT crash ioctl. This change is to reset UART error code to default during shutdown so that it will helps in passing correct UART error code from UART driver from next session. Change-Id: I2a073634699d54e905ca3970392563f7d8130640 Signed-off-by: Chandana Kishori Chiluveru <cchiluve@codeaurora.org>
This commit is contained in:
parent
3ea3b05116
commit
f5945564e7
1 changed files with 2 additions and 0 deletions
|
|
@ -2380,6 +2380,8 @@ static void msm_geni_serial_shutdown(struct uart_port *uport)
|
|||
IPC_LOG_MSG(msm_port->ipc_log_misc,
|
||||
"%s: Error %d pinctrl_select_state\n", __func__, ret);
|
||||
}
|
||||
/* Reset UART error to default during port_close() */
|
||||
msm_port->uart_error = UART_ERROR_DEFAULT;
|
||||
}
|
||||
IPC_LOG_MSG(msm_port->ipc_log_misc, "%s: End\n", __func__);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue