[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20090615095454.46b30acb@lxorguk.ukuu.org.uk>
Date: Mon, 15 Jun 2009 09:54:54 +0100
From: Alan Cox <alan@...rguk.ukuu.org.uk>
To: Ryan Mallon <ryan@...ewatersys.com>
Cc: Brian Swetland <swetland@...gle.com>,
linux-arm-kernel@...ts.arm.linux.org.uk,
linux-kernel@...r.kernel.org, pavel@....cz,
Robert Love <rlove@...gle.com>
Subject: Re: [PATCH 1/3] [ARM] msm_serial: serial driver for MSM7K onboard
serial peripheral.
> > + 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@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists