[alsa-devel] [RFC/PATCH] pxa2xx_ac97 and gpio reset line

Mark Brown broonie at sirena.org.uk
Sun Mar 15 13:52:39 CET 2009


On 15 Mar 2009, at 12:36, Robert Jarzmik <robert.jarzmik at 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?


More information about the Alsa-devel mailing list