On Fri, Jun 06, 2014 at 11:24:08AM +0530, Vinod Koul wrote:
Well the problem is that we can't use the current ASoC handlers for platform side mixers etc. The current code assumes that mixer is only present in codecs so in snd_soc_put_volsw() it does snd_soc_update_bits_locked(codec,...) which wont work for platform side.
Hence we went ahead and did our own handler for platform side but need the dapm_kcontrol_set/get_value exported out. And yes I wouldn't have bothered you if this was to be kept out of tree, the plan is to get this merged :)
If we go ahead with Lar's series we may not need this, but am yet to test that bit.
Right, that's definitely where we want to end up - convert everything to components. Failing that we should make helpers that work with platforms instead of CODECs so the code isn't in the core.