[PATCH 1/1] pinctrl: fix pinmux_check_ops error checking
viresh.kumar at st.com
Sun Apr 8 23:31:03 EDT 2012
On 4/6/2012 9:02 PM, Stephen Warren wrote:
> On 04/06/2012 06:18 AM, Dong Aisheng wrote:
>> > From: Dong Aisheng <dong.aisheng at linaro.org>
>> > Do not use get_functions_count before checking.
>> > Signed-off-by: Dong Aisheng <dong.aisheng at linaro.org>
> Acked-by: Stephen Warren <swarren at wwwdotorg.org>
> IIRC, Viresh added some other get_*_count() functions in the same patch.
> Do we need any more fixes similar to the this for those too?
Might not be required as this patch handles the pinmux_check_ops() routine.
At other places ops is guaranteed to have correct value.
More information about the linux-arm-kernel