Subject: [PATCHv10 2.6.34-rc6 4/5] mxc: Add generic USB HW initialization for MX51

From: [email-masked] (Daniel Mack)
Date: Sat, 1 May 2010 14:21:10 +0200

On Fri, Apr 30, 2010 at 03:48:26PM -0500, Dinh.Nguyen at freescale.com wrote:

[...]

> diff --git a/drivers/usb/host/ehci-mxc.c b/drivers/usb/host/ehci-mxc.c
> index ead59f4..544ccfd 100644
> --- a/drivers/usb/host/ehci-mxc.c
> +++ b/drivers/usb/host/ehci-mxc.c
> @@ -199,8 +199,8 @@ static int ehci_mxc_drv_probe(struct platform_device *pdev)
>  	writel(pdata->portsc, hcd->regs + PORTSC_OFFSET);
>  	mdelay(10);
>  
> -	/* setup USBCONTROL. */
> -	ret = mxc_set_usbcontrol(pdev->id, pdata->flags);
> +	/* setup specific usb hw */
> +	ret = mxc_initialize_usb_hw(pdev->id, pdata->flags);
>  	if (ret < 0)
>  		goto err_init;

Ok - now we shouldn't have any possible regression.

Thanks,
Daniel