[alsa-devel] [RFC PATCH] ASoC AC97/I2S for SH7760

Liam Girdwood lg at opensource.wolfsonmicro.com
Wed May 9 12:25:19 CEST 2007


On Wed, 2007-05-09 at 07:25 +0200, Manuel Lauss wrote:

> 
> It's not that easy with asoc: first it does not pass any
> information to the ac97_read/write functions, and I haven't
> yet found a way to pass information from the probe() callbacks
> to the asoc core, hence this hack.
> In general, ASoC does not anticipate devices like the 7760 with
> 2 independent audio units.

Fwiw, this is on my todo list for after the next merge. Sadly, I'm
struggling for free time to add ac97 private data atm. 


>  
> > > diff --git a/sound/soc/sh/ssi.c b/sound/soc/sh/ssi.c
> > > new file mode 100644
> > > index 0000000..79642e0
> > > --- /dev/null
> > > +#ifdef SSI_DEBUG
> > > +#define MSG(x...)	printk(KERN_INFO "sh4-i2s: " x)
> > > +#else
> > > +#define MSG(x...)	do {} while (0)
> > > +#endif
> > > +
> > pr_debug()?
> 
> Okay, gone.

This should also apply to the other supported platforms. Now on my todo
list.

Everything else looks fine.

Thanks

Liam



More information about the Alsa-devel mailing list