]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: Add utility to parse DAPM routes from device tree
authorStephen Warren <swarren@nvidia.com>
Mon, 12 Dec 2011 22:55:35 +0000 (15:55 -0700)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Tue, 20 Dec 2011 01:05:34 +0000 (01:05 +0000)
commit87607fc29233bce056612139b764462b503d9c0b
treef4f101cd8ceb909c32ebc0c6112446d2f483327d
parent49ff138e2bada2ebf674c468f7aabe72c466acea
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