[PATCH v5 2/2] serial: mxc: have putc use the TXFIFO
SCHNEIDER Johannes
johannes.schneider at leica-geosystems.com
Thu Oct 27 00:22:28 CEST 2022
Hi
the thing with only checking !TXEMPTY is that it limits the fifo to one byte only; and as far as i understood, drivermodel code is supposed to return immediately and not block possibly waiting indefinitely for a hardware/status register to change
a colleague pointed out the use of barriers in the quoted kernel code snippet -> are we perhaps running into code-reordering issues; that checking the status flags and writing into the queue gets out of sync?
regards
More information about the U-Boot
mailing list