The complex patch with which MohammadAG had his success
[h-e-n] / drivers / usb / musb / musb_host.c
index 7958251..eb21b7a 100644 (file)
@@ -1863,8 +1863,10 @@ static int musb_urb_enqueue(
        unsigned                        interval;
 
        /* host role must be active */
-       if (!is_host_active(musb) || !musb->is_active)
+       if (!is_host_active(musb) || !musb->is_active) {
+               printk(KERN_ERR "musb is_host_active %d is_active %d\n",is_host_active(musb),musb->is_active);
                return -ENODEV;
+       }
 
        spin_lock_irqsave(&musb->lock, flags);
        ret = usb_hcd_link_urb_to_ep(hcd, urb);
@@ -2275,6 +2277,7 @@ static int musb_bus_resume(struct usb_hcd *hcd)
        return 0;
 }
 
+
 const struct hc_driver musb_hc_driver = {
        .description            = "musb-hcd",
        .product_desc           = "MUSB HDRC host driver",
@@ -2298,6 +2301,5 @@ const struct hc_driver musb_hc_driver = {
        .hub_control            = musb_hub_control,
        .bus_suspend            = musb_bus_suspend,
        .bus_resume             = musb_bus_resume,
-       /* .start_port_reset    = NULL, */
        /* .hub_irq_enable      = NULL, */
 };