On Thu, 17 Oct 2013, H Hartley Sweeten wrote:

> Convert ep93xx to use the OHCI platform driver and remove the
> ohci-ep93xx bus glue driver.
> 
> Enable CONFIG_OHCI_HCD_PLATFORM in the ep93xx_defconfig so that USB
> is still enabled by default on the EP93xx platform.
> 
> Signed-off-by: H Hartley Sweeten <[email protected]>

> +/*************************************************************************
> + * EP93xx OHCI USB Host
> + *************************************************************************/
> +
> +static struct clk *ep93xx_ohci_host_clock;
> +
> +static int ep93xx_ohci_power_on(struct platform_device *pdev)
> +{
> +     if (!ep93xx_ohci_host_clock) {
> +             ep93xx_ohci_host_clock = devm_clk_get(&pdev->dev, NULL);
> +             if (IS_ERR(ep93xx_ohci_host_clock))
> +                     return PTR_ERR(ep93xx_ohci_host_clock);
> +     }
> +
> +     clk_enable(ep93xx_ohci_host_clock);
> +
> +     return 0;

Wasn't this supposed to be changed to:

        return clk_enable(ep93xx_ohci_host_clock);

?  Otherwise it looks fine.  After fixing this, you can add

Acked-by: Alan Stern <[email protected]>

Alan Stern

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to