1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
|
From dde234f80ef2e42fa6da97c7717a9e16e67b4e82 Mon Sep 17 00:00:00 2001
From: Liam Girdwood <lrg@slimlogic.co.uk>
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 <lrg@slimlogic.co.uk>
Signed-off-by: Margarita Olaya Cabrera <magi.olaya@ti.com>
Signed-off-by: Misael Lopez Cruz <misael.lopez@ti.com>
Integrated-by: Jingdong Lu <jingdong.lu@windriver.com>
---
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
|