diff options
author | Deepa Madiregama <dmadiregama@nvidia.com> | 2014-07-02 11:45:20 +0530 |
---|---|---|
committer | Emad Mir <emir@nvidia.com> | 2014-07-09 15:10:54 -0700 |
commit | e452c87dcc23d91e1ad5c8ffeaa581f26496d54d (patch) | |
tree | ddcfe482f491c1a0e6603f27027e0ebb7503412f /sound | |
parent | 4e914c4dc48b6ba8d9cc92a3d788bf80aceea102 (diff) |
ASoC: Tegra: Add effects capture for norrin
- Add dai link for effects capture
Bug 1399923
Change-Id: Ie361aad3cedb1c47b8800fc9eac221e4fcaccc97
Signed-off-by: Deepa Madiregama <dmadiregama@nvidia.com>
Reviewed-on: http://git-master/r/433496
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Reviewed-by: Ravindra Lokhande <rlokhande@nvidia.com>
Diffstat (limited to 'sound')
-rw-r--r-- | sound/soc/tegra/tegra_max98090.c | 13 |
1 files changed, 12 insertions, 1 deletions
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", |