On Tue, Oct 12, 2010 at 03:57:55PM +0100, Mark Brown wrote: > dai->dev = dev; > - dai->id = i; > + if (dai->driver->id) > + dai->id = dai->driver->id; > + else > + dai->id = i; > dai->driver = &dai_drv[i]; Sorry, sent the wrong version of this - obviously the new check should go after the assignment. _______________________________________________ Alsa-devel mailing list Alsa-devel@xxxxxxxxxxxxxxxx http://mailman.alsa-project.org/mailman/listinfo/alsa-devel