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

Jon Smirl jonsmirl at gmail.com
Sun May 24 17:21:15 CEST 2009


On Sun, May 24, 2009 at 7:08 AM, Mark Brown
<broonie at opensource.wolfsonmicro.com> wrote:
> I'm not aware of any CODEC drivers which can't currently be built and
> used as modules.  If you mean "load via the normal device model" then
> yes, that'd be very good (and is in progress) but it's another issue and
> as I explained last time AC97 poses particular problems there.
>

I mean "load via the normal device model". For example the AC97
drivers need to be loadable by the codec id. There's no entry in
scripts/mod/file2alias.c for dynamically loading the modules.  They
don't have an id_table.

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.

The core needs to detect if a specific codec id can't be supported to
fall back to the generic AC97 driver.

-- 
Jon Smirl
jonsmirl at gmail.com


More information about the Alsa-devel mailing list