
3 Feb
2012
3 Feb
'12
10:46 p.m.
On Fri, Feb 03, 2012 at 05:43:09PM +0000, Liam Girdwood wrote:
- Use snd_soc_add_card_controls() where no direct codec control is required.
- Use snd_soc_add_codec_controls() where there is direct codec control.
In the case of 1) above we also update the machine drivers to get the correct component data pointers from the kcontrol (rather than getting the machine pointer via the codec pointer).
Hrm, I can't apply this right now as I don't have an appropriate system to hand but what are the cases where there is CODEC control? This sounds suspicous, perhaps we need some of the drivers enhancing (though no reason to block this patch).