Message ID | 1471058078-5579-2-git-send-email-sre@kernel.org (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
It would be nice to have a line about why it is needed, unfortunately
include/linux/serial_core.h is not exactly helpful.
Plus you'll need to sign off the patch.
Acked-by: Pavel Machek <pavel@ucw.cz>
Thanks,
Pavel
Hi, On Sun, Aug 14, 2016 at 10:49:56AM +0200, Pavel Machek wrote: > It would be nice to have a line about why it is needed, > unfortunately include/linux/serial_core.h is not exactly helpful. > > Plus you'll need to sign off the patch. I should have had another look at the long patch descriptions before sending the patchset ;) -- Sebastian
diff --git a/drivers/tty/serial/omap-serial.c b/drivers/tty/serial/omap-serial.c index a2a529994ba5..7c2c77789c2c 100644 --- a/drivers/tty/serial/omap-serial.c +++ b/drivers/tty/serial/omap-serial.c @@ -1542,6 +1542,9 @@ static struct omap_uart_port_info *of_get_uart_port_info(struct device *dev) of_property_read_u32(dev->of_node, "clock-frequency", &omap_up_info->uartclk); + + omap_up_info->flags = UPF_BOOT_AUTOCONF; + return omap_up_info; }