[alsa-devel] [PATCH] ASoC: make ops a pointer in 'struct snd_soc_dai'

Takashi Iwai tiwai at suse.de
Mon Mar 2 12:55:32 CET 2009

At Mon, 2 Mar 2009 11:25:46 +0800,
Eric Miao wrote:
> Considering the fact that most cpu_dai or codec_dai are using a same
> 'snd_soc_dai_ops' for several similar interfaces, 'ops' would be better
> made a pointer instead, to make sharing easier and code a bit cleaner.
> The patch below is rather preliminary since the asoc tree is being
> actively developed, and this touches almost every piece of code,
> (and possibly many others in development need to be changed as
> well). Building of all codecs are OK, yet to every SoC, I didn't test
> that.
> Signed-off-by: Eric Miao <eric.miao at marvell.com>

Don't forget to update Documentation/sound/alsa/soc/*, too.
(I don't mind who does it, though ;)



More information about the Alsa-devel mailing list