]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: Add more natural support for no-DMA DAIs
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Wed, 27 Apr 2011 17:16:32 +0000 (18:16 +0100)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Wed, 27 Apr 2011 21:33:11 +0000 (22:33 +0100)
commit5d358fb58d9c4fa450a59df116ec2bdf4c2f22a8
treec860d13902c98fab86390e7b29027c063ffc3af5
parentd694b8fba601ec951e8a795203ca6c9ef5702ff1
ASoC: Add more natural support for no-DMA DAIs

Since we can now support multiple platforms allow machines to not specify
a platform in a DAI link. Since the rest of the code requires that we have
a struct device for all objects we do this by substituting in a dummy
device that we register automatically.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Acked-by: Jassi Brar <jassisinghbrar@gmail.com>
Acked-by: Liam Girdwood <lrg@ti.com>
sound/soc/soc-core.c
sound/soc/soc-utils.c