summaryrefslogtreecommitdiff
path: root/sound
diff options
context:
space:
mode:
authorDara Ramesh <dramesh@nvidia.com>2013-05-23 11:04:07 +0530
committerDan Willemsen <dwillemsen@nvidia.com>2013-09-14 13:14:53 -0700
commit9d959a34a0acfe4a63fc36e62d837bdad23b9f62 (patch)
tree5c6d4b6ca257bcc3b269fd99a380e19e323b0701 /sound
parent72a4c544a035f3acab968010d5172059288b2ab5 (diff)
asoc: tegra: max98090: don't disable extern1 clock
don't disable extern1 clock in bias off, as headset detection is not working when extern1 clk to max97236 is disabled. Change-Id: I283bdcb8113101c55dae5bb6ef0ec58bb14a9abf Signed-off-by: Dara Ramesh <dramesh@nvidia.com> Reviewed-on: http://git-master/r/231961 Reviewed-by: Sumit Bhattacharya <sumitb@nvidia.com>
Diffstat (limited to 'sound')
-rw-r--r--sound/soc/tegra/tegra_max98090.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/sound/soc/tegra/tegra_max98090.c b/sound/soc/tegra/tegra_max98090.c
index 4e92a642a91e..be03c63707dc 100644
--- a/sound/soc/tegra/tegra_max98090.c
+++ b/sound/soc/tegra/tegra_max98090.c
@@ -1117,7 +1117,6 @@ static int tegra_max98090_set_bias_level(struct snd_soc_card *card,
if (machine->bias_level == SND_SOC_BIAS_OFF &&
level != SND_SOC_BIAS_OFF && (!machine->clock_enabled)) {
machine->clock_enabled = 1;
- tegra_asoc_utils_clk_enable(&machine->util_data);
machine->bias_level = level;
}
@@ -1133,7 +1132,6 @@ static int tegra_max98090_set_bias_level_post(struct snd_soc_card *card,
if (machine->bias_level != SND_SOC_BIAS_OFF &&
level == SND_SOC_BIAS_OFF && (machine->clock_enabled)) {
machine->clock_enabled = 0;
- tegra_asoc_utils_clk_disable(&machine->util_data);
}
machine->bias_level = level;