summaryrefslogtreecommitdiffstats
path: root/include/sound/soc.h
diff options
context:
space:
mode:
authorStephen Warren2011-12-12 23:55:35 +0100
committerMark Brown2011-12-20 02:05:34 +0100
commita4a54dd5bb1bb01010f46147d6d8b452255957bf (patch)
treef4f101cd8ceb909c32ebc0c6112446d2f483327d /include/sound/soc.h
parentASoC: Add utility to set a card's name from device tree (diff)
downloadkernel-qcow2-linux-a4a54dd5bb1bb01010f46147d6d8b452255957bf.tar.gz
kernel-qcow2-linux-a4a54dd5bb1bb01010f46147d6d8b452255957bf.tar.xz
kernel-qcow2-linux-a4a54dd5bb1bb01010f46147d6d8b452255957bf.zip
ASoC: Add utility to parse DAPM routes from device tree
Implement snd_soc_of_parse_audio_routing(), a utility function that can parses a simple DAPM route table from device tree.The machine driver specifies the DT property to use, since this is binding-specific. Signed-off-by: Stephen Warren <swarren@nvidia.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'include/sound/soc.h')
-rw-r--r--include/sound/soc.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/sound/soc.h b/include/sound/soc.h
index 278f3b892ca6..db8acd299043 100644
--- a/include/sound/soc.h
+++ b/include/sound/soc.h
@@ -963,6 +963,8 @@ void snd_soc_util_exit(void);
int snd_soc_of_parse_card_name(struct snd_soc_card *card,
const char *propname);
+int snd_soc_of_parse_audio_routing(struct snd_soc_card *card,
+ const char *propname);
#include <sound/soc-dai.h>