aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/host/ehci-hcd.c
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@suse.de>2005-07-28 11:37:33 -0700
committerGreg Kroah-Hartman <gregkh@suse.de>2005-09-08 14:57:25 -0700
commit95a629657dbe28e44a312c47815b3dc3f1ce0970 (patch)
tree0e48656b5d61e26078a50af9f6766e52934fbedf /drivers/usb/host/ehci-hcd.c
parent085ae41f66657a9655ce832b0a61832a06f0e1dc (diff)
downloadkernel_goldelico_gta04-95a629657dbe28e44a312c47815b3dc3f1ce0970.zip
kernel_goldelico_gta04-95a629657dbe28e44a312c47815b3dc3f1ce0970.tar.gz
kernel_goldelico_gta04-95a629657dbe28e44a312c47815b3dc3f1ce0970.tar.bz2
[PATCH] PCI: start paying attention to a lot of pci function return values
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/host/ehci-hcd.c')
-rw-r--r--drivers/usb/host/ehci-hcd.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/usb/host/ehci-hcd.c b/drivers/usb/host/ehci-hcd.c
index 149b13f..2507e89 100644
--- a/drivers/usb/host/ehci-hcd.c
+++ b/drivers/usb/host/ehci-hcd.c
@@ -549,7 +549,9 @@ static int ehci_start (struct usb_hcd *hcd)
hcd->can_wakeup = (port_wake & 1) != 0;
/* help hc dma work well with cachelines */
- pci_set_mwi (pdev);
+ retval = pci_set_mwi(pdev);
+ if (retval)
+ ehci_dbg(ehci, "unable to enable MWI - not fatal.\n");
}
#endif