From dde234f80ef2e42fa6da97c7717a9e16e67b4e82 Mon Sep 17 00:00:00 2001 From: Liam Girdwood Date: Fri, 15 Oct 2010 14:51:38 +0100 Subject: [PATCH 16/60] ASoC: sdp4430: Configure host-less and opt DAI links commit 393ab1b9adca6ae1e10ad42564a30991600fda48 upstream 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 Signed-off-by: Margarita Olaya Cabrera Signed-off-by: Misael Lopez Cruz Integrated-by: Jingdong Lu --- sound/soc/omap/sdp4430.c | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/sound/soc/omap/sdp4430.c b/sound/soc/omap/sdp4430.c index badb680..44cceb8 100644 --- a/sound/soc/omap/sdp4430.c +++ b/sound/soc/omap/sdp4430.c @@ -396,6 +396,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", @@ -423,6 +424,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", @@ -462,6 +464,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", @@ -475,6 +478,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 { -- 1.7.4.1