diff options
author | Vijay Mali <vmali@nvidia.com> | 2014-03-04 16:29:50 +0530 |
---|---|---|
committer | Martin Chi <mchi@nvidia.com> | 2014-03-04 21:34:22 -0800 |
commit | 30b286fbb2c256da9f7e9537d40eaa879dda9024 (patch) | |
tree | f579c070298286ae447e9ded94a1f0c024fe8ecb /sound | |
parent | da0db7c10fa5352848e77f0029b22324bdac1d8c (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 1468201
Change-Id: I7c0fdf8eceb26839c0cc083d17b741b593aa9761
Signed-off-by: Vijay Mali <vmali@nvidia.com>
Reviewed-on: http://git-master/r/377143
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Lei Fan <leif@nvidia.com>
Reviewed-by: Martin Chi <mchi@nvidia.com>
Diffstat (limited to 'sound')
-rw-r--r-- | sound/soc/tegra/tegra_rt5640.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sound/soc/tegra/tegra_rt5640.c b/sound/soc/tegra/tegra_rt5640.c index 1dbe35b6174b..18cb6535cf9f 100644 --- a/sound/soc/tegra/tegra_rt5640.c +++ b/sound/soc/tegra/tegra_rt5640.c @@ -1605,6 +1605,7 @@ static struct snd_soc_dai_link tegra_rt5640_dai[NUM_DAI_LINKS] = { .codec_dai_name = "rt5639-aif1", .init = tegra_rt5640_init, .ops = &tegra_rt5640_ops, + .ignore_pmdown_time = 1, }, [DAI_LINK_SPDIF] = { .name = "SPDIF", @@ -1633,6 +1634,7 @@ static struct snd_soc_dai_link tegra_rt5640_dai[NUM_DAI_LINKS] = { .cpu_dai_name = "dit-hifi", .codec_dai_name = "rt5639-aif1", .ops = &tegra_voice_call_ops, + .ignore_pmdown_time = 1, }, [DAI_LINK_BT_VOICE_CALL] = { .name = "BT VOICE CALL", |