serial: 8250_dw: don't set UPF_BOOT_AUTOCONF flag
authorHeikki Krogerus <heikki.krogerus@linux.intel.com>
Mon, 21 Sep 2015 11:17:33 +0000 (14:17 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 4 Oct 2015 17:38:45 +0000 (18:38 +0100)
serial8250_register_8250_port adds it to all ports it
registers. No need to set it separately.

Signed-off-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/8250/8250_dw.c

index 180e04b91a11e0fb777a484cb56e0105e776b2e3..a0cdbf35dcb19bd637632f55d514ad16d1588036 100644 (file)
@@ -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;