summaryrefslogtreecommitdiff
path: root/sound
diff options
context:
space:
mode:
authorLiam Girdwood <lrg@slimlogic.co.uk>2011-05-31 09:23:02 +0100
committerAndy Green <andy.green@linaro.org>2011-05-31 11:04:32 +0100
commitce2711c7259fce6c03b79d4e13eba035b370ca51 (patch)
tree3ba3ad150105baa2cc7bc5f81d9f1fa33a3bc70f /sound
parent6aa5e928cdb4c8d5f5036b40c0adcce3086ad0ef (diff)
ASoC: sdp4430: Configure host-less and opt DAI links
Enable host-less support for DAI links involved in connectivity usecases as there is no data transfer between CPU and CODEC. Change-Id: Ia8cf3ae83a7444473d663b0580e5a8833d9aff89 Signed-off-by: Liam Girdwood <lrg@slimlogic.co.uk> Signed-off-by: Margarita Olaya Cabrera <magi.olaya@ti.com> Signed-off-by: Misael Lopez Cruz <misael.lopez@ti.com>
Diffstat (limited to 'sound')
-rw-r--r--sound/soc/omap/sdp4430.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/sound/soc/omap/sdp4430.c b/sound/soc/omap/sdp4430.c
index 4a519a38b11..f4a457906c5 100644
--- a/sound/soc/omap/sdp4430.c
+++ b/sound/soc/omap/sdp4430.c
@@ -730,6 +730,7 @@ static struct snd_soc_dai_link sdp4430_dai[] = {
.num_be = ARRAY_SIZE(mm1_be),
.fe_playback_channels = 2,
.fe_capture_channels = 8,
+ .no_host_mode = SND_SOC_DAI_LINK_OPT_HOST,
},
{
.name = "SDP4430 Media Capture",
@@ -757,6 +758,7 @@ static struct snd_soc_dai_link sdp4430_dai[] = {
.num_be = ARRAY_SIZE(mm1_be),
.fe_playback_channels = 2,
.fe_capture_channels = 2,
+ .no_host_mode = SND_SOC_DAI_LINK_OPT_HOST,
},
{
.name = "SDP4430 Tones Playback",
@@ -796,6 +798,7 @@ static struct snd_soc_dai_link sdp4430_dai[] = {
.num_be = ARRAY_SIZE(modem_be),
.fe_playback_channels = 2,
.fe_capture_channels = 2,
+ .no_host_mode = SND_SOC_DAI_LINK_NO_HOST,
},
{
.name = "SDP4430 Media LP",
@@ -809,6 +812,7 @@ static struct snd_soc_dai_link sdp4430_dai[] = {
.supported_be = mm_lp_be,
.num_be = ARRAY_SIZE(mm_lp_be),
.fe_playback_channels = 2,
+ .no_host_mode = SND_SOC_DAI_LINK_OPT_HOST,
},
#ifdef CONFIG_SND_OMAP_SOC_HDMI
{