diff options
author | Ravindra Lokhande <rlokhande@nvidia.com> | 2014-06-26 20:31:22 +0530 |
---|---|---|
committer | Emad Mir <emir@nvidia.com> | 2014-06-30 16:32:48 -0700 |
commit | fa9a15badd061956c4a75f1e492ca721b4647615 (patch) | |
tree | 3d1213e70e29f87973a2c0271c968dcaf1a5b44d /sound/soc/tegra/tegra_rt5639.c | |
parent | d37acd2a442340c5a19b51d35bc469a2e23b41e0 (diff) |
ASoC: Tegra: Refactor offload to handle multiple BE
- Added virtual mixer and switch to support multiple BE
- One FE can be connected to multiple BE, mixer control can be used
to select the path
- Fix crash if no path is selected
Change-Id: Ibbf03ef1e1826acd92402b8275d72a580e643e66
Signed-off-by: Ravindra Lokhande <rlokhande@nvidia.com>
Reviewed-on: http://git-master/r/428950
GVS: Gerrit_Virtual_Submit
Reviewed-by: Sumit Bhattacharya <sumitb@nvidia.com>
Diffstat (limited to 'sound/soc/tegra/tegra_rt5639.c')
-rw-r--r-- | sound/soc/tegra/tegra_rt5639.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/sound/soc/tegra/tegra_rt5639.c b/sound/soc/tegra/tegra_rt5639.c index df9161c84868..467375e15770 100644 --- a/sound/soc/tegra/tegra_rt5639.c +++ b/sound/soc/tegra/tegra_rt5639.c @@ -929,9 +929,6 @@ static const struct snd_soc_dapm_route ardbeg_audio_map[] = { /*{"IN1P", NULL, "micbias1"},*/ /*{"IN1N", NULL, "micbias1"},*/ /* AHUB BE connections */ - {"I2S1_OUT", NULL, "offload-pcm-playback"}, - {"I2S1_OUT", NULL, "offload-compr-playback"}, - {"AIF1 Playback", NULL, "I2S1_OUT"}, }; @@ -1066,7 +1063,7 @@ static struct snd_soc_dai_link tegra_rt5639_dai[NUM_DAI_LINKS] = { .dynamic = 1, }, [DAI_LINK_I2S_OFFLOAD_BE] = { - .name = "offload-audio", + .name = "offload-audio-codec", .stream_name = "offload-audio-pcm", .codec_name = "rt5639.0-001a", .platform_name = "tegra30-i2s.1", |