summaryrefslogtreecommitdiff
path: root/sound/soc/tegra/tegra_rt5639.c
diff options
context:
space:
mode:
Diffstat (limited to 'sound/soc/tegra/tegra_rt5639.c')
-rw-r--r--sound/soc/tegra/tegra_rt5639.c16
1 files changed, 14 insertions, 2 deletions
diff --git a/sound/soc/tegra/tegra_rt5639.c b/sound/soc/tegra/tegra_rt5639.c
index 467375e15770..b26096550c2d 100644
--- a/sound/soc/tegra/tegra_rt5639.c
+++ b/sound/soc/tegra/tegra_rt5639.c
@@ -59,8 +59,9 @@
#define DAI_LINK_BT_VOICE_CALL 4
#define DAI_LINK_PCM_OFFLOAD_FE 5
#define DAI_LINK_COMPR_OFFLOAD_FE 6
-#define DAI_LINK_I2S_OFFLOAD_BE 7
-#define NUM_DAI_LINKS 8
+#define DAI_LINK_PCM_OFFLOAD_CAPTURE_FE 7
+#define DAI_LINK_I2S_OFFLOAD_BE 8
+#define NUM_DAI_LINKS 9
extern int g_is_call_mode;
@@ -1062,6 +1063,17 @@ static struct snd_soc_dai_link tegra_rt5639_dai[NUM_DAI_LINKS] = {
.dynamic = 1,
},
+ [DAI_LINK_PCM_OFFLOAD_CAPTURE_FE] = {
+ .name = "offload-pcm-capture",
+ .stream_name = "offload-pcm-capture",
+
+ .platform_name = "tegra-offload",
+ .cpu_dai_name = "tegra-offload-pcm",
+
+ .codec_dai_name = "snd-soc-dummy-dai",
+ .codec_name = "snd-soc-dummy",
+
+ },
[DAI_LINK_I2S_OFFLOAD_BE] = {
.name = "offload-audio-codec",
.stream_name = "offload-audio-pcm",