Re: [PATCH 1/3] [ARM] msm_serial: serial driver for MSM7K onboardserial peripheral.

From: Alan Cox
Date: Mon Jun 15 2009 - 04:54:02 EST


> > + 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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/