Re: [PATCH v2 2/2] serial: mxs-auart: fix tx

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Am 01.02.24 um 13:05 schrieb Jiri Slaby:
On 01. 02. 24, 11:55, Jiri Slaby (SUSE) wrote:
Emil reports:
   After updating Linux on an i.MX28 board, serial communication over
   AUART broke. When I TX from the board and measure on the TX pin, it
   seems like the HW fifo is not emptied before the transmission is
   stopped.

MXS performs weird things with stop_tx(). The driver makes it
conditional on uart_tx_stopped().

So the driver needs special handling. Pass the brand new UART_TX_NOSTOP
to uart_port_tx_flags() and handle the stop on its own.

Signed-off-by: Jiri Slaby (SUSE) <jirislaby@xxxxxxxxxx>
Reported-by: Emil Kronborg <emil.kronborg@xxxxxxxxxxxxxx>
Fixes: 2d141e683e9a ("tty: serial: use uart_port_tx() helper")
Closes:
https://lore.kernel.org/all/miwgbnvy3hjpnricubg76ytpn7xoceehwahupy25bubbduu23s@om2lptpa26xw/

Tested-by: Stefan Wahren <wahrenst@xxxxxxx>

Thanks





[Index of Archives]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux PPP]     [Linux FS]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Linmodem]     [Device Mapper]     [Linux Kernel for ARM]

  Powered by Linux