diff options
Diffstat (limited to 'drivers/usb/host/ehci-pci.c')
-rw-r--r-- | drivers/usb/host/ehci-pci.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/drivers/usb/host/ehci-pci.c b/drivers/usb/host/ehci-pci.c index 1102ce65a3a9..f4b627d343ac 100644 --- a/drivers/usb/host/ehci-pci.c +++ b/drivers/usb/host/ehci-pci.c | |||
@@ -224,6 +224,11 @@ static int ehci_pci_setup(struct usb_hcd *hcd) | |||
224 | pci_dev_put(p_smbus); | 224 | pci_dev_put(p_smbus); |
225 | } | 225 | } |
226 | break; | 226 | break; |
227 | case PCI_VENDOR_ID_NETMOS: | ||
228 | /* MosChip frame-index-register bug */ | ||
229 | ehci_info(ehci, "applying MosChip frame-index workaround\n"); | ||
230 | ehci->frame_index_bug = 1; | ||
231 | break; | ||
227 | } | 232 | } |
228 | 233 | ||
229 | /* optional debug port, normally in the first BAR */ | 234 | /* optional debug port, normally in the first BAR */ |
@@ -439,7 +444,7 @@ static int ehci_pci_resume(struct usb_hcd *hcd, bool hibernated) | |||
439 | /* here we "know" root ports should always stay powered */ | 444 | /* here we "know" root ports should always stay powered */ |
440 | ehci_port_power(ehci, 1); | 445 | ehci_port_power(ehci, 1); |
441 | 446 | ||
442 | hcd->state = HC_STATE_SUSPENDED; | 447 | ehci->rh_state = EHCI_RH_SUSPENDED; |
443 | return 0; | 448 | return 0; |
444 | } | 449 | } |
445 | #endif | 450 | #endif |