diff options
author | Vijay Mali <vmali@nvidia.com> | 2014-02-27 22:26:10 +0530 |
---|---|---|
committer | Bharat Nihalani <bnihalani@nvidia.com> | 2014-03-09 21:47:59 -0700 |
commit | 3819bb8b4578fb7b5a271358a0b5e843f7bb6619 (patch) | |
tree | f8b7ef61e59d67dd7b5afc988102e20c315207a8 /sound | |
parent | c560b5509e0cfc7d35a0a50217e76afc553893f4 (diff) |
asoc: tegra: ignore delayed close of audio devices
Ignore dapm delayed shutdown for music and
voice devices.This helps close voice and music
streams immediately after pcm-close. Delayed
shutdown causes disabling dapm paths that are
used by other devices.
Bug 1456394
Change-Id: Ib6d597507ef2eebad04a6874d472fce326581cce
Signed-off-by: Vijay Mali <vmali@nvidia.com>
Reviewed-on: http://git-master/r/375572
(cherry picked from commit 2432dd430640bf8bb8037977d0a8b110fab59d78)
Reviewed-on: http://git-master/r/377689
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Diffstat (limited to 'sound')
-rw-r--r-- | sound/soc/tegra/tegra_rt5639.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sound/soc/tegra/tegra_rt5639.c b/sound/soc/tegra/tegra_rt5639.c index 408e594576c5..c75f68aff566 100644 --- a/sound/soc/tegra/tegra_rt5639.c +++ b/sound/soc/tegra/tegra_rt5639.c @@ -969,6 +969,7 @@ static struct snd_soc_dai_link tegra_rt5639_dai[NUM_DAI_LINKS] = { .codec_dai_name = "rt5639-aif1", .init = tegra_rt5639_init, .ops = &tegra_rt5639_ops, + .ignore_pmdown_time = 1, }, [DAI_LINK_SPDIF] = { @@ -997,6 +998,7 @@ static struct snd_soc_dai_link tegra_rt5639_dai[NUM_DAI_LINKS] = { .cpu_dai_name = "dit-hifi", .codec_dai_name = "rt5639-aif1", .ops = &tegra_rt5639_voice_call_ops, + .ignore_pmdown_time = 1, }, [DAI_LINK_BT_VOICE_CALL] = { .name = "BT VOICE CALL", |