From: Heikki Krogerus Date: Mon, 21 Sep 2015 11:17:33 +0000 (+0300) Subject: serial: 8250_dw: don't set UPF_BOOT_AUTOCONF flag X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=7693c79ce0779e9f3ebeaee747592da42294bc5f;p=GitHub%2Fexynos8895%2Fandroid_kernel_samsung_universal8895.git serial: 8250_dw: don't set UPF_BOOT_AUTOCONF flag serial8250_register_8250_port adds it to all ports it registers. No need to set it separately. Signed-off-by: Heikki Krogerus Reviewed-by: Andy Shevchenko Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/tty/serial/8250/8250_dw.c b/drivers/tty/serial/8250/8250_dw.c index 180e04b91a11..a0cdbf35dcb1 100644 --- a/drivers/tty/serial/8250/8250_dw.c +++ b/drivers/tty/serial/8250/8250_dw.c @@ -363,7 +363,7 @@ static int dw8250_probe(struct platform_device *pdev) p->handle_irq = dw8250_handle_irq; p->pm = dw8250_do_pm; p->type = PORT_8250; - p->flags = UPF_SHARE_IRQ | UPF_BOOT_AUTOCONF | UPF_FIXED_PORT; + p->flags = UPF_SHARE_IRQ | UPF_FIXED_PORT; p->dev = &pdev->dev; p->iotype = UPIO_MEM; p->serial_in = dw8250_serial_in;