[alsa-devel] [PATCH] ASoC: soc-dapm: Introduce the new snd_soc_dapm_virt_mux type
lrg at slimlogic.co.uk
Fri Dec 17 11:43:13 CET 2010
On Thu, 2010-12-16 at 15:53 +0000, Dimitris Papastamos wrote:
> This new type is a virtual version of snd_soc_dapm_mux. It is used
> when a backing register value is not necessary for deciding which
> input path to connect. A simple virtual enumeration control e.g.
> SOC_DAPM_ENUM_VIRT() can be exposed to userspace which will be used
> to choose which path to connect.
> The snd_soc_dapm_virt_mux type ensures that during the initial
> path setup, the first (which is also the default) input path will
> be connected.
> Signed-off-by: Dimitris Papastamos <dp at opensource.wolfsonmicro.com>
Acked-by: Liam Girdwood <lrg at slimlogic.co.uk>
Freelance Developer, SlimLogic Ltd
ASoC and Voltage Regulator Maintainer.
More information about the Alsa-devel