From mboxrd@z Thu Jan 1 00:00:00 1970 From: Krzysztof Kozlowski Subject: Re: [PATCH v3 3/4] serial: samsung: introduce s3c24xx_serial_rx_drain_fifo() function Date: Thu, 17 Sep 2015 16:27:52 +0900 Message-ID: <55FA6B78.9030402@samsung.com> References: <1442321340-28167-1-git-send-email-r.baldyga@samsung.com> <1442321340-28167-4-git-send-email-r.baldyga@samsung.com> Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Return-path: In-reply-to: <1442321340-28167-4-git-send-email-r.baldyga@samsung.com> Sender: linux-kernel-owner@vger.kernel.org To: Robert Baldyga , gregkh@linuxfoundation.org Cc: jslaby@suse.com, linux-serial@vger.kernel.org, linux-kernel@vger.kernel.org, m.szyprowski@samsung.com List-Id: linux-serial@vger.kernel.org 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 > --- > drivers/tty/serial/samsung.c | 23 +++++++++++++---------- > 1 file changed, 13 insertions(+), 10 deletions(-) > Reviewed-by: Krzysztof Kozlowski Best regards, Krzysztof