[alsa-devel] [PATCH V2 0/9] mpc5200 audio rework for AC97

Mark Brown broonie at opensource.wolfsonmicro.com
Sun May 24 20:35:15 CEST 2009

On Sun, May 24, 2009 at 11:21:15AM -0400, Jon Smirl wrote:

> My AC97 driver is detecting the codec id and printing it before trying
> to access the codec driver. I can convert that to a load_module() call
> when the drivers are ready.

No, your AC97 driver shouldn't be doing any of this at all - it should
be leaving any enumeration of the hardware up to the machine driver and
the core.  In so far as it is standardised the process for probing AC97
is something that can be implemented in terms of the operations exported
by the DAI so it should be done in the core for all AC97 DAIs.  Where
standardised probing can't work it needs to be machine specific anyway.

More information about the Alsa-devel mailing list