]> 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)
commit6352334b554d3631c409f6989f082e513c408717
tree3704fdfc17eb315e5c4801d327d1bc4d228269d8
parent3f5d6499c33e0d2a4af63cb44f4b02bfbd0aa447
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