On Thu, 4 Jul 2013, Manjunath Goudar wrote:

> Separate the OHCI EP93XX host controller driver from ohci-hcd
> host code so that it can be built as a separate driver module.
> This work is part of enabling multi-platform kernels on ARM.

> @@ -79,7 +93,10 @@ static int usb_hcd_ep93xx_probe(const struct hc_driver 
> *driver,
>  
>       ep93xx_start_hc(&pdev->dev);
>  
> -     ohci_hcd_init(hcd_to_ohci(hcd));
> +     ohci = hcd_to_ohci(hcd);
> +     ohci->next_statechange = jiffies;
> +     spin_lock_init(&ohci->lock);
> +     INIT_LIST_HEAD(&ohci->pending);
>  
>       retval = usb_add_hcd(hcd, pdev->resource[1].start, 0);
>       if (retval == 0)

Why did you add these lines?

Alan Stern

--
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