]> git.baikalelectronics.ru Git - 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)
commit65ab66ddf1f85bb1aea5ac88fc9f52bbc00458a0
tree297cbdf96c94c2a44763086f71a42942eb206851
parent5c85adffe3ac3a2fba4fea1d2582c13734af82a8
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