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)
commit3c715a98844f72cec0fa3ef2b68232b8f751468b
tree3704fdfc17eb315e5c4801d327d1bc4d228269d8
parent675c1aa3c4a7290e537e854d0af7cdf9692bd396
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