[PATCH 6/6] usb: chipidea: usbmisc: add post handling and errata fix for mx25

Martin Fuzzey mfuzzey at gmail.com
Thu Nov 15 21:08:15 EST 2012


Hi,

On Wed, Nov 14, 2012 at 12:55 PM, Michael Grzeschik
<m.grzeschik at pengutronix.de> wrote:
> @@ -213,6 +216,15 @@ static int __devinit ci13xxx_imx_probe(struct platform_device *pdev)
>                 goto put_np;
>         }
>
> +       if (usbmisc_ops && usbmisc_ops->post) {
> +               ret = usbmisc_ops->post(&pdev->dev);
> +               if (ret) {
> +                       dev_err(&pdev->dev,
> +                               "usbmisc post failed, ret=%d\n", ret);
> +                       goto err;
> +               }
> +       }
> +
>         data->ci_pdev = plat_ci;
>         platform_set_drvdata(pdev, data);
>
This hunk fails to apply for me on 3.7-rc5:
error: while searching for:
		goto put_np;
	}

	data->ci_pdev = plat_ci;
	platform_set_drvdata(pdev, data);

Regards,

Martin


More information about the devicetree-discuss mailing list