OSDN Git Service

Merge 4.0-rc3 into tty-testing
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 9 Mar 2015 06:08:37 +0000 (07:08 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 9 Mar 2015 06:08:37 +0000 (07:08 +0100)
This resolves a merge issue in drivers/tty/serial/8250/8250_pci.c

Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
1  2 
drivers/tty/serial/8250/8250_core.c
drivers/tty/serial/8250/8250_dw.c
drivers/tty/serial/8250/8250_pci.c
drivers/tty/serial/atmel_serial.c
drivers/tty/serial/sprd_serial.c
include/linux/serial_core.h
kernel/printk/printk.c

Simple merge
Simple merge
@@@ -1989,6 -2132,34 +2132,27 @@@ static struct pci_serial_quirk pci_seri
        },
        {
                .vendor         = PCI_VENDOR_ID_INTEL,
 -              .device         = PCI_DEVICE_ID_INTEL_QRK_UART,
 -              .subvendor      = PCI_ANY_ID,
 -              .subdevice      = PCI_ANY_ID,
 -              .setup          = pci_default_setup,
 -      },
 -      {
 -              .vendor         = PCI_VENDOR_ID_INTEL,
+               .device         = PCI_DEVICE_ID_INTEL_PNW_UART1,
+               .subvendor      = PCI_ANY_ID,
+               .subdevice      = PCI_ANY_ID,
+               .setup          = pnw_serial_setup,
+       },
+       {
+               .vendor         = PCI_VENDOR_ID_INTEL,
+               .device         = PCI_DEVICE_ID_INTEL_PNW_UART2,
+               .subvendor      = PCI_ANY_ID,
+               .subdevice      = PCI_ANY_ID,
+               .setup          = pnw_serial_setup,
+       },
+       {
+               .vendor         = PCI_VENDOR_ID_INTEL,
+               .device         = PCI_DEVICE_ID_INTEL_PNW_UART3,
+               .subvendor      = PCI_ANY_ID,
+               .subdevice      = PCI_ANY_ID,
+               .setup          = pnw_serial_setup,
+       },
+       {
+               .vendor         = PCI_VENDOR_ID_INTEL,
                .device         = PCI_DEVICE_ID_INTEL_BSW_UART1,
                .subvendor      = PCI_ANY_ID,
                .subdevice      = PCI_ANY_ID,
@@@ -2632,12 -2597,11 +2636,13 @@@ static int atmel_serial_probe(struct pl
        port->backup_imr = 0;
        port->uart.line = ret;
  
 +      spin_lock_init(&port->lock_suspended);
 +
        ret = atmel_init_gpios(port, &pdev->dev);
-       if (ret < 0)
-               dev_err(&pdev->dev, "%s",
-                       "Failed to initialize GPIOs. The serial port may not work as expected");
+       if (ret < 0) {
+               dev_err(&pdev->dev, "Failed to initialize GPIOs.");
+               goto err;
+       }
  
        ret = atmel_init_port(port, pdev);
        if (ret)
Simple merge
Simple merge
Simple merge