From patchwork Thu Feb 3 15:05:32 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mathias Nyman X-Patchwork-Id: 529781 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter1.kernel.org (8.14.4/8.14.3) with ESMTP id p13ErcWo005905 for ; Thu, 3 Feb 2011 14:53:38 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755746Ab1BCOxh (ORCPT ); Thu, 3 Feb 2011 09:53:37 -0500 Received: from smtp.nokia.com ([147.243.128.24]:19724 "EHLO mgw-da01.nokia.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755282Ab1BCOxh (ORCPT ); Thu, 3 Feb 2011 09:53:37 -0500 Received: from [172.21.22.107] (helruo-dhcp022107.ntc.nokia.com [172.21.22.107]) by mgw-da01.nokia.com (Switch-3.4.3/Switch-3.4.3) with ESMTP id p13ErXNi018643; Thu, 3 Feb 2011 16:53:34 +0200 Message-ID: <4D4AC43C.4060206@nokia.com> Date: Thu, 03 Feb 2011 17:05:32 +0200 From: Mathias Nyman User-Agent: Mozilla-Thunderbird 2.0.0.24 (X11/20100328) MIME-Version: 1.0 To: =?ISO-8859-15?Q?ext_Robert_W=F6rle?= CC: linux-omap@vger.kernel.org Subject: Re: serial8250: too much work for irq73 References: <4D483062.9010809@mibtec.de> In-Reply-To: <4D483062.9010809@mibtec.de> X-Nokia-AV: Clean Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.6 (demeter1.kernel.org [140.211.167.41]); Thu, 03 Feb 2011 14:53:39 +0000 (UTC) diff --git a/drivers/serial/8250.c b/drivers/serial/8250.c index 5ed1b82..d3add25 100644 --- a/drivers/serial/8250.c +++ b/drivers/serial/8250.c @@ -2403,6 +2403,8 @@ serial8250_set_termios(struct uart_port *port, struct ktermios *termios, if (fcr & UART_FCR_ENABLE_FIFO) { /* emulated UARTs (Lucent Venus 167x) need two steps */ serial_outp(up, UART_FCR, UART_FCR_ENABLE_FIFO); + serial_outp(up, UART_FCR, UART_FCR_ENABLE_FIFO | + UART_FCR_CLEAR_RCVR | UART_FCR_CLEAR_XMIT); } serial_outp(up, UART_FCR, fcr); /* set fcr */ }