Re: [PATCH 3/3] ARM: imx6q: switch to use pinctrl driver

From: Dong Aisheng
Date: Sun Apr 15 2012 - 00:03:14 EST


On Sat, Apr 14, 2012 at 9:53 PM, Sascha Hauer <s.hauer@xxxxxxxxxxxxxx> wrote:
> On Sat, Apr 14, 2012 at 12:18:35AM +0800, Dong Aisheng wrote:
>> From: Dong Aisheng <dong.aisheng@xxxxxxxxxx>
>>
>> ---
>> 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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/