20 Dec
2009
20 Dec
'09
1:59 p.m.
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.