ALSA: hda/hdmi: Fix the converter allocation for the silent stream
authorJaroslav Kysela <perex@perex.cz>
Mon, 19 Sep 2022 13:54:44 +0000 (15:54 +0200)
committerTakashi Iwai <tiwai@suse.de>
Tue, 20 Sep 2022 05:57:13 +0000 (07:57 +0200)
commitfc6f923ecfa2fafd0600f1b7e2de09baf29865e2
treebd69967040c34cc33b8ed2f2351d3aedf28a7ddf
parentbfbbfb269398ba6f7467a487828c263afe04dcb3
ALSA: hda/hdmi: Fix the converter allocation for the silent stream

Track the converters handling the silent stream using a new
variable to avoid mixing of the open/close and silent stream
use. This change ensures the proper allocation of the converters.

Fixes: 5f80d6bd2b01 ("ALSA: hda/hdmi: Fix the converter reuse for the silent stream")

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
Reviewed-by: Kai Vehmanen <kai.vehmanen@linux.intel.com>
Link: https://lore.kernel.org/r/20220919135444.3554982-1-perex@perex.cz
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/patch_hdmi.c