diff options
author | Vinod Subbarayalu <vsubbarayalu@nvidia.com> | 2013-08-21 11:02:52 -0700 |
---|---|---|
committer | Riham Haidar <rhaidar@nvidia.com> | 2013-08-22 12:15:39 -0700 |
commit | f1f276dbd5e00c66b6b3c0f6df97724e8c70458d (patch) | |
tree | c4218c99b0bf960bce3e53f2df9d8ed40f5e98c2 /sound | |
parent | 03e05bdda4e8ac51126929748b3bdd3aa6d17147 (diff) |
audio:Remove i2s enable/disable for tfa powerdown.
Bug: 1333902
Change-Id: I201720cd976fa61a51a793c8d67be6bf304e7b76
Signed-off-by: Vinod Subbarayalu <vsubbarayalu@nvidia.com>
Reviewed-on: http://git-master/r/264482
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Scott Peterson <speterson@nvidia.com>
Diffstat (limited to 'sound')
-rw-r--r-- | sound/soc/tegra/tegra_rt5640.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/sound/soc/tegra/tegra_rt5640.c b/sound/soc/tegra/tegra_rt5640.c index 61b1fc828768..7acd351f8a65 100644 --- a/sound/soc/tegra/tegra_rt5640.c +++ b/sound/soc/tegra/tegra_rt5640.c @@ -459,9 +459,7 @@ static int tegra_rt5640_event_int_spk(struct snd_soc_dapm_widget *w, machine->tfa9887_on = 1; } } else { - tegra_asoc_enable_clocks(); Tfa9887_Powerdown(1); - tegra_asoc_disable_clocks(); machine->tfa9887_on = 0; } } @@ -488,9 +486,7 @@ static int tegra_rt5640_event_hp(struct snd_soc_dapm_widget *w, if (machine_is_roth()) { if (i2s_tfa) { if (SND_SOC_DAPM_EVENT_ON(event)) { - tegra_asoc_enable_clocks(); Tfa9887_Powerdown(1); - tegra_asoc_disable_clocks(); machine->tfa9887_on = 0; } } @@ -773,9 +769,7 @@ static int tegra_rt5640_set_bias_level(struct snd_soc_card *card, } if (level == SND_SOC_BIAS_OFF) { if (i2s_tfa) { - tegra_asoc_enable_clocks(); Tfa9887_Powerdown(1); - tegra_asoc_disable_clocks(); machine->tfa9887_on = 0; } } |