Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1204215
| From | Fabio Estevam <festevam@gmail.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH RFC] serial: mxs-auart: fix baud rate range |
| Date | 2015-08-10 14:30 +0200 |
| Message-ID | <pVUng-6dN-9@gated-at.bofh.it> (permalink) |
| References | <pVUdA-62u-27@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Mon, Aug 10, 2015 at 9:12 AM, Stefan Wahren <stefan.wahren@i2se.com> wrote: > /* set baud rate */ > - baud = uart_get_baud_rate(u, termios, old, 0, u->uartclk); > + baud_min = u->uartclk * 32 / 0x3fffc0; > + baud_max = u->uartclk * 32 / 0xec; > + baud = uart_get_baud_rate(u, termios, old, baud_min, baud_max); Looks good. It would be nice to replace 0x3fffc0 and 0xec with defines though. Regards, Fabio Estevam -- 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/
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH RFC] serial: mxs-auart: fix baud rate range Stefan Wahren <stefan.wahren@i2se.com> - 2015-08-10 14:20 +0200
Re: [PATCH RFC] serial: mxs-auart: fix baud rate range Fabio Estevam <festevam@gmail.com> - 2015-08-10 14:30 +0200
Re: [PATCH RFC] serial: mxs-auart: fix baud rate range Janusz Użycki <j.uzycki@elpromaelectronics.com> - 2015-08-10 19:10 +0200
Re: [PATCH RFC] serial: mxs-auart: fix baud rate range Stefan Wahren <stefan.wahren@i2se.com> - 2015-08-11 09:20 +0200
csiph-web