Commit 04f71d1f authored by Stephen Freyder's avatar Stephen Freyder Committed by Jan Kiszka

Restore proper operation of ioctl(SET_CONFIG)

Disable software reset by setting SRST_B=1 when writing to UCR2 in
Signed-off-by: default avatarStephen Freyder <>
Signed-off-by: Jan Kiszka's avatarJan Kiszka <>
parent e107a08b
......@@ -703,9 +703,9 @@ static int rt_imx_uart_set_config(struct rt_imx_uart_ctx *ctx,
uint64_t tdiv64;
if (ctx->config.data_bits == RTSER_8_BITS)
ucr2 = UCR2_WS | UCR2_IRTS;
ucr2 = UCR2_WS | UCR2_SRST | UCR2_IRTS;
ucr2 = UCR2_IRTS;
ucr2 = UCR2_SRST | UCR2_IRTS;
if (ctx->config.handshake == RTSER_RTSCTS_HAND) {
if (port->have_rtscts) {
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