]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
ASoC: Add SND_SOC_DAPM_PIN_SWITCH controls for exposing DAPM pins
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Sat, 28 Feb 2009 21:14:20 +0000 (21:14 +0000)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Sat, 28 Feb 2009 21:31:21 +0000 (21:31 +0000)
commit8b37dbd2a180667e51db0552383df18743239c25
tree297cbdf96c94c2a44763086f71a42942eb206851
parent4eae080dda3a563160be2f642cfbda27ffc42178
ASoC: Add SND_SOC_DAPM_PIN_SWITCH controls for exposing DAPM pins

On some systems it is desirable for control for DAPM pins to be provided
to user space. This is the case with things like GSM modems which are
controlled primarily from user space, for example. Provide a helper which
exposes the state of a DAPM pin to user space for use in cases like this.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
include/sound/soc-dapm.h
sound/soc/soc-dapm.c