On 15.09.2015 21:48, Robert Baldyga wrote: > This patch introduces s3c24xx_serial_rx_drain_fifo() which reads data > from RX FIFO and writes it to tty buffer. It also checks for special > conditions (such as 'break') and handles it. This function has been > separated from s3c24xx_serial_rx_chars_pio() as it contains code which > can be used also in DMA mode. > > Signed-off-by: Robert Baldyga <r.baldyga@xxxxxxxxxxx> > --- > drivers/tty/serial/samsung.c | 23 +++++++++++++---------- > 1 file changed, 13 insertions(+), 10 deletions(-) Thanks for splitting the code. It looks good but I don't feel experienced enough in the driver internals to give a review tag. :) Best regards, Krzysztof -- To unsubscribe from this list: send the line "unsubscribe linux-serial" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html