summaryrefslogtreecommitdiffstats
path: root/sound/pci/hda
diff options
context:
space:
mode:
authorMohan Kumar <mkumard@nvidia.com>2016-01-22 04:55:40 -0500
committerSameer Pujar <spujar@nvidia.com>2017-08-07 05:26:22 -0400
commit40483cda5d2539e6d3d4062b2d164b408315874b (patch)
tree49f23da46cb988fedb1b14d8aa3e513a5eb7c603 /sound/pci/hda
parent8ef38fea895377cffc9cfcbe73d68fadbe3fd2df (diff)
ALSA: HDA: fix hda refcount
enabling and disabling of hda clock need to be matched. Curret code has one extra enabling call in suspend function which is not necessary. Bug 200165368 Change-Id: I57ed3b7c8939ca5b8453e1d549d4f5e153384926 Signed-off-by: Mohan Kumar <mkumard@nvidia.com> Reviewed-on: http://git-master/r/936175 Reviewed-by: Ravindra Lokhande <rlokhande@nvidia.com>
Diffstat (limited to 'sound/pci/hda')
-rw-r--r--sound/pci/hda/hda_tegra.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/sound/pci/hda/hda_tegra.c b/sound/pci/hda/hda_tegra.c
index 6032b7b86..22f917889 100644
--- a/sound/pci/hda/hda_tegra.c
+++ b/sound/pci/hda/hda_tegra.c
@@ -301,8 +301,6 @@ static int hda_tegra_suspend(struct device *dev)
301 struct azx *chip = card->private_data; 301 struct azx *chip = card->private_data;
302 struct hda_tegra *hda = container_of(chip, struct hda_tegra, chip); 302 struct hda_tegra *hda = container_of(chip, struct hda_tegra, chip);
303 303
304 hda_tegra_enable_clocks(hda);
305
306 snd_power_change_state(card, SNDRV_CTL_POWER_D3hot); 304 snd_power_change_state(card, SNDRV_CTL_POWER_D3hot);
307 305
308 azx_stop_chip(chip); 306 azx_stop_chip(chip);