On Sat, Apr 14, 2012 at 9:53 PM, Sascha Hauer <[email protected]> wrote: > On Sat, Apr 14, 2012 at 12:18:35AM +0800, Dong Aisheng wrote: >> From: Dong Aisheng <[email protected]> >> >> --- >> This patch is used for test the new pinctrl driver. > > Then please test it with i.MX35, i.MX5... > >> >> + imx_data->p = pinctrl_get_select_default(&pdev->dev); >> + if (IS_ERR(imx_data->p)) { >> + err = PTR_ERR(imx_data->p); >> + goto pin_err; >> + } >> + > > ... which will fail here. Sorry, it will not work, it's not a formal patch. I just sent it quickly for users to try on imx6q. For MX3 and MX5, before their pinctrl driver are available, user may need to define a dummy in dt to avoid such an error.
Regards Dong Aisheng _______________________________________________ devicetree-discuss mailing list [email protected] https://lists.ozlabs.org/listinfo/devicetree-discuss
