]> Pileus Git - ~andy/linux/commit
ALSA: hda - Don't rely on event tag for simple_hdmi
authorTakashi Iwai <tiwai@suse.de>
Thu, 21 Jun 2012 08:43:15 +0000 (10:43 +0200)
committerTakashi Iwai <tiwai@suse.de>
Thu, 21 Jun 2012 09:39:45 +0000 (11:39 +0200)
commit9dd8cf125d27742a25219bfdf82026e7efed27d9
treec4a36162d81cebfcb27ef58aa64dfc4c07ad94e0
parent8ceb332df46863ac8f74114a2b1805719cf49dcc
ALSA: hda - Don't rely on event tag for simple_hdmi

VIA codecs seem not returning the event tag in the unsolicited events,
thus the current code relying on the tag value doesn't work.
Since simple_hdmi stuff has only a single pin, we can use simply
snd_hda_jack_set_dirty_all() to activate the pin-detection
independently from the tag value.

Tested-by: Annie Liu <AnnieLiu@viatech.com.cn>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/patch_hdmi.c