]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: hda - Update jack-sense info even when no automute is set
authorTakashi Iwai <tiwai@suse.de>
Tue, 23 Aug 2011 10:41:09 +0000 (12:41 +0200)
committerTakashi Iwai <tiwai@suse.de>
Tue, 23 Aug 2011 10:41:09 +0000 (12:41 +0200)
commitbdd2b98909e5e01b225c3d294887843f19671d01
tree3704fdfc17eb315e5c4801d327d1bc4d228269d8
parent1da44a5f15edaf7399cbcf73ec9b8c4429559a9b
ALSA: hda - Update jack-sense info even when no automute is set

The internal states, jack_present and line_jack_present should be
updated upon unsolicited events even if no automute is set.
Otherwise the wrong state is referred when the automute behavior is
changed by the mixer control.

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