[PATCH v4 1/1] tty: serial: imx: allow breaks to be received when using dma

Uwe Kleine-König u.kleine-koenig at pengutronix.de
Sat Feb 24 01:13:04 PST 2018


On Fri, Feb 23, 2018 at 06:27:50PM -0800, Troy Kisky wrote:
> This allows me to login after sending a break when service
> serial-getty at ttymxc0.service is running
> 
> The "tty_insert_flip_char(port, 0, TTY_BREAK)" in clear_rx_errors
> fixes this by allowing the higher layers to see a break.
> 
> Also, call uart_handle_break to handle possible
> "secure attention key."
> 
> FYI: Martin said the ROM sdma firmware works with this patch,
> but external sdma firmware still does not send breaks on a
> i.mx6UL
> 
> Signed-off-by: Troy Kisky <troy.kisky at boundarydevices.com>
> Tested-by: Martin Hicks <mort at bork.org>
> Reviewed-by: Fabio Estevam <fabio.estevam at nxp.com>
Acked-by: Uwe Kleine-König <u.kleine-koenig at pengutronix.de>

Thanks
Uwe

-- 
Pengutronix e.K.                           | Uwe Kleine-König            |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |



More information about the linux-arm-kernel mailing list