Dash:
[t2.git] / architecture / mips64 / package / linux / 4008_all-usb-pci-quirks.patch
blob89e0377d2309cc1a3f5ae5f766ea3a4eb8e397fe
1 diff --git a/drivers/usb/host/pci-quirks.c b/drivers/usb/host/pci-quirks.c
2 index 3625a5c1a41b..b69e11dcace4 100644
3 --- a/drivers/usb/host/pci-quirks.c
4 +++ b/drivers/usb/host/pci-quirks.c
5 @@ -716,6 +716,9 @@ static void quirk_usb_handoff_uhci(struct pci_dev *pdev)
6 unsigned long base = 0;
7 int i;
9 + if (!pci_enable_device(pdev))
10 + return;
12 if (!pio_enabled(pdev))
13 return;