[ALSA] soc - DAPM - add hook to read state of DAPM widget
authorGraeme Gregory <graeme@openmoko.org>
Wed, 30 Apr 2008 17:27:40 +0000 (19:27 +0200)
committerJaroslav Kysela <perex@perex.cz>
Mon, 19 May 2008 11:19:14 +0000 (13:19 +0200)
commiteeec12bf7b7d80d1c9cae5aae0dff7e2f928c64b
tree34757a9cb4cc5f3c9a24699315e586db1668b578
parent54e7e6167d29a4a98207884b2fbd28b0b3fe91f6
[ALSA] soc - DAPM - add hook to read state of DAPM widget

This adds a hook to read the power state of a DAPM widget, I use this
in the gta02 driver to expose certain DAPM widgets in the mixer for
ease of audio routing.

Signed-off-by: Graeme Gregory <graeme@openmoko.org>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
include/sound/soc-dapm.h
sound/soc/soc-dapm.c