]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
ALSA: ASoC: Allow machine drivers to mark pins as not connected
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Wed, 24 Sep 2008 10:23:11 +0000 (11:23 +0100)
committerTakashi Iwai <tiwai@suse.de>
Mon, 13 Oct 2008 00:15:42 +0000 (02:15 +0200)
commit5817b52a298adce69e01acf2c131b3dcfda65d64
treef6ce8d3d9cf475c954c997626e6338906b32ca11
parent72474be62d6ec2e0337ff01ecbd737f9c5c242c7
ALSA: ASoC: Allow machine drivers to mark pins as not connected

Add a new API call snd_soc_dapm_nc_pin() which allows machine drivers to
mark pins as being permanently disabled.  At present this is identical
to snd_soc_dapm_disable_pin() except in terms of improving the internal
documentation of machine drivers that use it.  The intention is that in
future it will be extended to provide additional features such as hiding
controls that are only relevant to paths using the disconnected pin.

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