Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757733AbZFOIx6 (ORCPT ); Mon, 15 Jun 2009 04:53:58 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752561AbZFOIxv (ORCPT ); Mon, 15 Jun 2009 04:53:51 -0400 Received: from earthlight.etchedpixels.co.uk ([81.2.110.250]:41855 "EHLO www.etchedpixels.co.uk" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751881AbZFOIxu (ORCPT ); Mon, 15 Jun 2009 04:53:50 -0400 Date: Mon, 15 Jun 2009 09:54:54 +0100 From: Alan Cox To: Ryan Mallon Cc: Brian Swetland , linux-arm-kernel@lists.arm.linux.org.uk, linux-kernel@vger.kernel.org, pavel@ucw.cz, Robert Love Subject: Re: [PATCH 1/3] [ARM] msm_serial: serial driver for MSM7K onboard serial peripheral. Message-ID: <20090615095454.46b30acb@lxorguk.ukuu.org.uk> In-Reply-To: <4A35BD7F.3020803@bluewatersys.com> References: <1245033557-10968-1-git-send-email-swetland@google.com> <1245033557-10968-2-git-send-email-swetland@google.com> <4A35BD7F.3020803@bluewatersys.com> X-Mailer: Claws Mail 3.7.0 (GTK+ 2.14.7; x86_64-redhat-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 513 Lines: 15 > > + msm_write(port, UART_MR2_BITS_PER_CHAR_8 | UART_MR2_STOP_BIT_LEN_ONE, > > + UART_MR2); /* 8N1 */ > > + > > + if (baud < 300 || baud > 115200) > > + baud = 115200; > > return -EINVAL? TNo - this is your console so its far better to do something than fail. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/