[alsa-devel] [PATCH v2 1/2] ASoC: export dapm_kcontrol_set/get_value functions
Mark Brown
broonie at kernel.org
Fri Jun 6 11:51:42 CEST 2014
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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://mailman.alsa-project.org/pipermail/alsa-devel/attachments/20140606/5874ed8a/attachment.sig>
More information about the Alsa-devel
mailing list