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

Robert Jarzmik robert.jarzmik at free.fr
Sun Mar 8 19:59:38 CET 2009


Mark Brown <broonie at sirena.org.uk> writes:

> On 19 Feb 2009, at 20:44, Robert Jarzmik <robert.jarzmik at free.fr> wrote:
>
>> Hi Mark,
>>
>> I can't find out if somebody had submitted that kind of patch  before. This is
>> a
>> starting point of discussion. I'm not fully convinced by my own  code, and so
>> I
>> post it here for advice.
>>
>> What I'd really like is to be able to choose the PXA AC97 gpio reset  (GPIO95
>> or
>> GPIO113) through platform_data, but I couldn't find a way of doing  it. I hope
>> you'll have some kind of idea.
>
> This is a sensible idea in principle but should be done via platform  data for
> the AC97 driver rather than via Kconfig - it'll need an  update to use the
> platform in ASoC but I'll need to do those anyway.

Would you like me to help you with this platform data. This GPIO thing is
breaking mioa701 GSM chip (not damaging this time :)), so would you like me to
cook up the platform data passed to pxa2xx-ac97, and amend my patch accordingly
?

Or have you already coded the beast in your working repository ?

Cheers.

--
Robert

PS: passing that platform data is easy, I should have done it right from the
start. I can't see how I missed the simple platform_data in pxa2xx_ac97 probe
function ... grrr... Must be the belgian food I tried.


More information about the Alsa-devel mailing list