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)
commit848dd8beef44df18f2eb61e00981b0692adb801b
treec860d13902c98fab86390e7b29027c063ffc3af5
parent8842c72afe9f954d9462da577a25d4a32bfe0a2b
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