]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: hda/ca0132 - setup/cleanup streams
authorHsin-Yu Chao <hychao@chromium.org>
Wed, 19 Feb 2014 06:27:07 +0000 (14:27 +0800)
committerTakashi Iwai <tiwai@suse.de>
Wed, 19 Feb 2014 06:50:16 +0000 (07:50 +0100)
commit717968504c4bb4cfde5206875369c3270ab6c521
tree7d021605c1c56ab399120b495172e1d620440bbc
parent5a9458bf7351d414d3ab9b468c76bbc0a8ba8afb
ALSA: hda/ca0132 - setup/cleanup streams

When a HDMI stream is opened with the same stream tag
as a following opened stream to ca0132, audio will be
heard from two ports simultaneously.
Fix this issue by change to use snd_hda_codec_setup_stream
and snd_hda_codec_cleanup_stream instead, so that an
inactive stream can be marked as 'dirty' when found
with a conflict stream tag, and then get purified.

Signed-off-by: Hsin-Yu Chao <hychao@chromium.org>
Reviewed-by: Chih-Chung Chang <chihchung@chromium.org>
Cc: <stable@vger.kernel.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/patch_ca0132.c