From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S938740AbdLSI4h (ORCPT ); Tue, 19 Dec 2017 03:56:37 -0500 Received: from mail.linuxfoundation.org ([140.211.169.12]:54644 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S934122AbdLSI4g (ORCPT ); Tue, 19 Dec 2017 03:56:36 -0500 Date: Tue, 19 Dec 2017 09:56:38 +0100 From: Greg Kroah-Hartman To: Thomas Rohloff Cc: Jiri Slaby , Carlo Caione , Kevin Hilman , linux-amlogic@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v3] tty: serial: meson: allow baud-rates lower than 9600 Message-ID: <20171219085638.GA21577@kroah.com> References: <7cf5ad02-6003-4222-a2cb-030ae613b337@myway.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <7cf5ad02-6003-4222-a2cb-030ae613b337@myway.de> User-Agent: Mutt/1.9.2 (2017-12-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, Nov 04, 2017 at 01:36:07PM +0100, Thomas Rohloff wrote: > Devices like DCF77 receivers need the baud-rate to be as low as 50. > > I have tested this on a Meson GXL device with uart_A. > > Cc: Greg Kroah-Hartman > Cc: Jiri Slaby > Cc: Carlo Caione > Cc: Kevin Hilman > Cc: linux-amlogic@lists.infradead.org > Cc: linux-arm-kernel@lists.infradead.org > Cc: linux-kernel@vger.kernel.org > Signed-off-by: Thomas Rohloff > --- > drivers/tty/serial/meson_uart.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/tty/serial/meson_uart.c > b/drivers/tty/serial/meson_uart.c > index 07c0f98be3ac..e281ce5d101d 100644 > --- a/drivers/tty/serial/meson_uart.c > +++ b/drivers/tty/serial/meson_uart.c > @@ -362,7 +362,7 @@ static void meson_uart_set_termios(struct uart_port > *port, > > writel(val, port->membase + AML_UART_CONTROL); > > - baud = uart_get_baud_rate(port, termios, old, 9600, 4000000); > + baud = uart_get_baud_rate(port, termios, old, 50, 4000000); > meson_uart_change_speed(port, baud); > > port->read_status_mask = AML_UART_TX_FIFO_WERR; This patch is corrupted (line-wrapped), and can not be applied. Please fix up and resend. thanks, greg k-h