ASoC: Add utility to parse DAPM routes from device tree
commita4a54dd5bb1bb01010f46147d6d8b452255957bf
authorStephen Warren <swarren@nvidia.com>
Mon, 12 Dec 2011 22:55:35 +0000 (12 15:55 -0700)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Tue, 20 Dec 2011 01:05:34 +0000 (20 01:05 +0000)
treef4f101cd8ceb909c32ebc0c6112446d2f483327d
parentbec4fa05e25f7e78ec67df389539acc6bb352a2a
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>
include/sound/soc.h
sound/soc/soc-core.c