aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/host
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-05-21 11:54:43 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-05-21 11:54:43 -0400
commit8e192910d96615a32646b8978b201b650f62ef34 (patch)
treeee0aa7ad38e56c96a41ca8dff1f227c3009f51e9 /drivers/usb/host
parentd3ad558fcd5b88cba406ad099a596ebec6b3d2ee (diff)
Revert "USB: EHCI: work around bug in the Philips ISP1562 controller"
This reverts commit 1996e6c572969a8cf6d7fa97eef621219acd94a9. It turned out to not be needed, now that the real fix has been committed. Reported-by: Alan Stern <stern@rowland.harvard.edu> Cc: stable <stable@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/host')
-rw-r--r--drivers/usb/host/ehci-hcd.c2
-rw-r--r--drivers/usb/host/ehci-pci.c7
-rw-r--r--drivers/usb/host/ehci.h1
3 files changed, 1 insertions, 9 deletions
diff --git a/drivers/usb/host/ehci-hcd.c b/drivers/usb/host/ehci-hcd.c
index 5597e6099592..b100f5f9f4b6 100644
--- a/drivers/usb/host/ehci-hcd.c
+++ b/drivers/usb/host/ehci-hcd.c
@@ -638,7 +638,7 @@ static int ehci_init(struct usb_hcd *hcd)
638 INIT_LIST_HEAD(&ehci->cached_itd_list); 638 INIT_LIST_HEAD(&ehci->cached_itd_list);
639 INIT_LIST_HEAD(&ehci->cached_sitd_list); 639 INIT_LIST_HEAD(&ehci->cached_sitd_list);
640 640
641 if (HCC_PGM_FRAMELISTLEN(hcc_params) && !ehci->sched_size_bug) { 641 if (HCC_PGM_FRAMELISTLEN(hcc_params)) {
642 /* periodic schedule size can be smaller than default */ 642 /* periodic schedule size can be smaller than default */
643 switch (EHCI_TUNE_FLS) { 643 switch (EHCI_TUNE_FLS) {
644 case 0: ehci->periodic_size = 1024; break; 644 case 0: ehci->periodic_size = 1024; break;
diff --git a/drivers/usb/host/ehci-pci.c b/drivers/usb/host/ehci-pci.c
index 4baafa3e80b2..bc94d7bf072d 100644
--- a/drivers/usb/host/ehci-pci.c
+++ b/drivers/usb/host/ehci-pci.c
@@ -97,13 +97,6 @@ static int ehci_pci_setup(struct usb_hcd *hcd)
97 break; 97 break;
98 } 98 }
99 break; 99 break;
100
101 case PCI_VENDOR_ID_PHILIPS:
102 /*
103 * Philips controllers set HCC_PGM_FRAMELISTLEN, but
104 * they don't implement schedule sizes shorter than 1024.
105 */
106 ehci->sched_size_bug = 1;
107 } 100 }
108 101
109 /* cache this readonly data; minimize chip reads */ 102 /* cache this readonly data; minimize chip reads */
diff --git a/drivers/usb/host/ehci.h b/drivers/usb/host/ehci.h
index 2a6652fd5400..2694ed6558d2 100644
--- a/drivers/usb/host/ehci.h
+++ b/drivers/usb/host/ehci.h
@@ -149,7 +149,6 @@ struct ehci_hcd { /* one per controller */
149 unsigned use_dummy_qh:1; /* AMD Frame List table quirk*/ 149 unsigned use_dummy_qh:1; /* AMD Frame List table quirk*/
150 unsigned has_synopsys_hc_bug:1; /* Synopsys HC */ 150 unsigned has_synopsys_hc_bug:1; /* Synopsys HC */
151 unsigned frame_index_bug:1; /* MosChip (AKA NetMos) */ 151 unsigned frame_index_bug:1; /* MosChip (AKA NetMos) */
152 unsigned sched_size_bug:1; /* Philips */
153 152
154 /* required for usb32 quirk */ 153 /* required for usb32 quirk */
155 #define OHCI_CTRL_HCFS (3 << 6) 154 #define OHCI_CTRL_HCFS (3 << 6)