[alsa-devel] 2.6.32-gitX: oops in ac97 codec registration

Mark Brown broonie at opensource.wolfsonmicro.com
Thu Dec 17 11:56:00 CET 2009

On Thu, Dec 17, 2009 at 09:40:50AM +0100, Manuel Lauss wrote:

> current 2.6.32-git spits out the following oops when I load my machine

Do you mean 2.6.32 or 2.6.33?

> Oops is inside snd_ac97_dev_add_pdata() call: seems ac97->dev is NULL.

> I'm not entirely sure that this isn't somehow the fault of my machine driver;
> has the procedure to register the asoc device changed since 2.6.32?

The generic AC97 bodge code is broken.  Again.  I've not checked the
ordering requirements here but reversing the order of snd_soc_new_pcms()
and snd_ac97_bus() in ac97_soc_probe() might do the trick.

More information about the Alsa-devel mailing list