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

Mark Brown broonie at sirena.org.uk
Sun Mar 15 12:26:40 CET 2009

On Sun, Mar 15, 2009 at 12:14:18PM +0100, Robert Jarzmik wrote:

> You assume a reset gpio is _always_ provided on pxa27x CPUs. I do not. There may
> be faulty boards where no gpio line is dedicated to AC97 reset, or AC97 reset
> line is commanded by a helper chip.

Could you change this to provide an explicit way of specifying that (eg,
with -1 as the GPIO)?  There are other things we might want platform
data for in future - passing data to the AC97 codec, for example - so we
can't rely on people not specifying platform data for anything.

More information about the Alsa-devel mailing list