]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: hda - Fix invalid mute led state on resume of IDT codecs
authorVitaliy Kulikov <Vitaliy.Kulikov@idt.com>
Fri, 22 Jul 2011 23:18:15 +0000 (18:18 -0500)
committerTakashi Iwai <tiwai@suse.de>
Tue, 26 Jul 2011 07:38:36 +0000 (09:38 +0200)
commit677755f8b8cca2d1311d5b08580b4f95dc4fb0fa
tree1f44f8708224332ca37e305724f8b09c05fa308f
parent1429429de72fda467c7af60c0f79bff06228c7da
ALSA: hda - Fix invalid mute led state on resume of IDT codecs

Codec state is not restored immediately on resume but on the first
access when power-save is enabled.  That leads to an invalid mute led
state after resume until either sound is played or some control is
changed.  This patch adds a possibility for a vendor specific patch to
restore codec state immediately after resume if required.  And it adds
code to restore IDT codecs state immediately on resume on HP systems
with mute led support.

Signed-off-by: Vitaliy Kulikov <Vitaliy.Kulikov@idt.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/hda_codec.c
sound/pci/hda/hda_codec.h
sound/pci/hda/patch_sigmatel.c