[alsa-devel] No device for DAI omap-eac-dai error
Hi,
I'm writing new omap dai (for EAC codec base omap's). My code is based on existing omap-mcbsp.c code basically.
After loadingof module I got error which appear in init function when call snd_soc_register_dai().
I browse for code but can't figure out where dai->dev should be set to don't get error message and init dai properly.
Thanks for any suggestions
Marek
On Sat, Dec 19, 2009 at 05:51:59PM +0100, Belisko Marek wrote:
I'm writing new omap dai (for EAC codec base omap's). My code is based on existing omap-mcbsp.c code basically.
After loadingof module I got error which appear in init function when call snd_soc_register_dai().
I browse for code but can't figure out where dai->dev should be set to don't get error message and init dai properly.
Thanks for any suggestions
There ought to be a platform device associated with the McBSP port which provides the struct device to use, but currently OMAP doesn't do that.
Hello,
On Saturday 19 December 2009 18:51:59 ext Belisko Marek wrote:
Hi,
I'm writing new omap dai (for EAC codec base omap's). My code is based on existing omap-mcbsp.c code basically.
After loadingof module I got error which appear in init function when call snd_soc_register_dai().
It is a warning about the missing dai->dev, if the McBSP dais are in use you get the same warning for all the ports. AFAIK at the moment it is harmless.
I browse for code but can't figure out where dai->dev should be set to don't get error message and init dai properly.
Thanks for any suggestions
Marek _______________________________________________ Alsa-devel mailing list Alsa-devel@alsa-project.org http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
participants (3)
-
Belisko Marek
-
Mark Brown
-
Peter Ujfalusi