]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/serial/8250_pci.c
serial_8250: pci_enable_device fail is not fully handled
[linux-2.6-omap-h63xx.git] / drivers / serial / 8250_pci.c
index c2f23933155b1cbfdff132b035f76d84b143a73a..c014ffb110e98c8b4801d47c4884ddead3a4b492 100644 (file)
@@ -2041,9 +2041,9 @@ static int pciserial_resume_one(struct pci_dev *dev)
                 * The device may have been disabled.  Re-enable it.
                 */
                err = pci_enable_device(dev);
+               /* FIXME: We cannot simply error out here */
                if (err)
-                       return err;
-
+                       printk(KERN_ERR "pciserial: Unable to re-enable ports, trying to continue.\n");
                pciserial_resume_ports(priv);
        }
        return 0;