From e452c87dcc23d91e1ad5c8ffeaa581f26496d54d Mon Sep 17 00:00:00 2001 From: Deepa Madiregama Date: Wed, 2 Jul 2014 11:45:20 +0530 Subject: ASoC: Tegra: Add effects capture for norrin - Add dai link for effects capture Bug 1399923 Change-Id: Ie361aad3cedb1c47b8800fc9eac221e4fcaccc97 Signed-off-by: Deepa Madiregama Reviewed-on: http://git-master/r/433496 Reviewed-by: Bharat Nihalani Reviewed-by: Ravindra Lokhande --- sound/soc/tegra/tegra_max98090.c | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) (limited to 'sound') diff --git a/sound/soc/tegra/tegra_max98090.c b/sound/soc/tegra/tegra_max98090.c index d5a280cce764..f18ab905f029 100644 --- a/sound/soc/tegra/tegra_max98090.c +++ b/sound/soc/tegra/tegra_max98090.c @@ -80,7 +80,8 @@ #define DAI_LINK_HIFI_MAX97236 4 #define DAI_LINK_PCM_OFFLOAD_FE 5 #define DAI_LINK_COMPR_OFFLOAD_FE 6 -#define DAI_LINK_I2S_OFFLOAD_BE 7 +#define DAI_LINK_PCM_OFFLOAD_CAPTURE_FE 7 +#define DAI_LINK_I2S_OFFLOAD_BE 8 const char *tegra_max98090_i2s_dai_name[TEGRA30_NR_I2S_IFC] = { @@ -1156,6 +1157,16 @@ static struct snd_soc_dai_link tegra_max98090_dai[] = { .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", -- cgit v1.2.3