]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: hda - Always resume the codec immediately
authorTakashi Iwai <tiwai@suse.de>
Tue, 8 May 2012 14:52:23 +0000 (16:52 +0200)
committerTakashi Iwai <tiwai@suse.de>
Tue, 8 May 2012 16:00:47 +0000 (18:00 +0200)
commita6fc00f64b0be61575fd56a9dd2f07766e3579a2
tree18eed775bdfb03289a993de5f2859e0a8683eb74
parent2af58164da34c5e4a80caee8e4a5f99c778b33f1
ALSA: hda - Always resume the codec immediately

This is a fix for the problem in commit b169d4925a, the pop noise
issue on some machines with ALC269.  The problem was the uninitialized
state after the resume due to the delayed resume of the codec chips.
In that commit, we tried to fix by forcibly putting the codec to D3 at
suspend.  But, this still also leaves the uninitialized state after
resume, and it _might_ be still problematic with some BIOS.  Since the
commit turned out to regress another issues, we reverted it in the
end.

Now, in this fix, try to fix by turning on the codec immediately at
the resume path.  We need to take care of the power-saving in this
case.  When the device is woken up at the power-saved state, it should
go power-saving again after the resume.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/hda_codec.c
sound/pci/hda/hda_codec.h
sound/pci/hda/hda_intel.c