Signed-off-by: Jia-Ju Bai <baijiaju1...@163.com>
---
 drivers/usb/host/ehci-hcd.c |    2 ++
 1 file changed, 2 insertions(+)

diff --git a/drivers/usb/host/ehci-hcd.c b/drivers/usb/host/ehci-hcd.c
index 48c92bf..c02ec42 100644
--- a/drivers/usb/host/ehci-hcd.c
+++ b/drivers/usb/host/ehci-hcd.c
@@ -422,6 +422,7 @@ static void ehci_work (struct ehci_hcd *ehci)
 static void ehci_stop (struct usb_hcd *hcd)
 {
        struct ehci_hcd         *ehci = hcd_to_ehci (hcd);
+       struct pci_dev      *pdev = to_pci_dev(hcd->self.controller);
 
        ehci_dbg (ehci, "stop\n");
 
@@ -444,6 +445,7 @@ static void ehci_stop (struct usb_hcd *hcd)
        end_free_itds(ehci);
        spin_unlock_irq (&ehci->lock);
        ehci_mem_cleanup (ehci);
+       pci_clear_mwi(pdev);
 
        if (ehci->amd_pll_fix == 1)
                usb_amd_dev_put();
-- 
1.7.9.5


--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to