]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
ALSA: hda - verify pin:converter connection on unsol event for HSW and VLV
authorMengdong Lin <mengdong.lin@intel.com>
Thu, 12 Jun 2014 06:42:25 +0000 (14:42 +0800)
committerTakashi Iwai <tiwai@suse.de>
Thu, 12 Jun 2014 09:59:43 +0000 (11:59 +0200)
commitb4f75aea553a2146bbdd159c397a2ac42cbb9902
tree1e4d9e79ace13c2b8bf2a8ee5e1d3c1d3db68354
parent2bd0ae464a6cf7363bbf72c8545e0aa43caa57f0
ALSA: hda - verify pin:converter connection on unsol event for HSW and VLV

This patch will verify the pin's coverter selection for an active stream
when an unsol event reports this pin becomes available again after a display
mode change or hot-plug event.

For Haswell+ and Valleyview: display mode change or hot-plug can change the
transcoder:port connection and make all the involved audio pins share the 1st
converter. So the stream using 1st convertor will flow to multiple pins
but active streams using other converters will fail. This workaround
is to assure the pin selects the right conveter and an assigned converter is
not shared by other unused pins.

Signed-off-by: Mengdong Lin <mengdong.lin@intel.com>
Cc: <stable@vger.kernel.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/patch_hdmi.c