15 Mar
2009
15 Mar
'09
1:52 p.m.
On 15 Mar 2009, at 12:36, Robert Jarzmik robert.jarzmik@free.fr wrote:
I don't understand the "anything". What should be done if pdata is passed with reset_gpio = 0 then ?
Should this be considered as the default case and transformed into 113 ? That sounds a bit buggy, because if someone changes his code to include platform_data support, they'll have to init platform_data anyway, and fill in reset_gpio field.
Yes, that's what I'm asking for. I don't want to make it mandatory because only PXA27x is affected (might be worth naming the field for that actually) and the driver will already be implementing a default behaviour.
Should this be handled like a casual gpio (ie. gpio 99) ?
I'm not sure what you mean by a casual GPIO?