]> err.no Git - linux-2.6/blobdiff - drivers/usb/host/ohci-pxa27x.c
[PATCH] USB: OHCI relies less on NDP register
[linux-2.6] / drivers / usb / host / ohci-pxa27x.c
index e5bc1789d18a6532b13cdaf1e367e8002c9d9b49..5dd20dbe852d6697ec88230aee4a90033b72fff2 100644 (file)
@@ -258,6 +258,9 @@ ohci_pxa27x_start (struct usb_hcd *hcd)
 
        ohci_dbg (ohci, "ohci_pxa27x_start, ohci:%p", ohci);
 
+       /* The value of NDP in roothub_a is incorrect on this hardware */
+       ohci->num_ports = 3;
+
        if ((ret = ohci_init(ohci)) < 0)
                return ret;