aboutsummaryrefslogtreecommitdiffstats
path: root/sound/pci/hda/hda_intel.c
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2007-08-13 15:29:04 +0200
committerJaroslav Kysela <perex@perex.cz>2007-10-16 15:58:49 +0200
commit95e99fdadb34debebd8dd35bb5a18b253dece22d (patch)
tree5e402674ca1b08ba9a6c80a96e07bf2c08488b7d /sound/pci/hda/hda_intel.c
parent[ALSA] This patch removes memset() from snd_emu10k1_fx8010_info() which apparently (diff)
downloadlinux-dev-95e99fdadb34debebd8dd35bb5a18b253dece22d.tar.xz
linux-dev-95e99fdadb34debebd8dd35bb5a18b253dece22d.zip
[ALSA] hda-intel - Fix resume with power save
The controller power wasn't turned on properly at resume due to the power-saving patch. Now fixed. Signed-off-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Jaroslav Kysela <perex@suse.cz>
Diffstat (limited to 'sound/pci/hda/hda_intel.c')
-rw-r--r--sound/pci/hda/hda_intel.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/pci/hda/hda_intel.c b/sound/pci/hda/hda_intel.c
index 7be3a9b55330..f9c7c2e4f922 100644
--- a/sound/pci/hda/hda_intel.c
+++ b/sound/pci/hda/hda_intel.c
@@ -1500,7 +1500,7 @@ static int azx_acquire_irq(struct azx *chip, int do_disconnect)
static void azx_stop_chip(struct azx *chip)
{
- if (chip->initialized)
+ if (!chip->initialized)
return;
/* disable interrupts */