[PATCH] ALSA: hda/hdmi: Fix the converter reuse for the silent stream

Takashi Iwai tiwai at suse.de
Fri Sep 16 16:15:43 CEST 2022


On Tue, 13 Sep 2022 09:02:16 +0200,
Jaroslav Kysela wrote:
> 
> When the user space pcm stream uses the silent stream converter,
> it is no longer allocated for the silent stream. Clear the appropriate
> flag in the hdmi_pcm_open() function. The silent stream setup may
> be applied in hdmi_pcm_close() (and the error path - open fcn) again.
> 
> If the flag is not cleared, the reuse conditions for the silent
> stream converter in hdmi_choose_cvt() may improperly share
> this converter.
> 
> Cc: Kai Vehmanen <kai.vehmanen at linux.intel.com>
> Signed-off-by: Jaroslav Kysela <perex at perex.cz>

Applied now.


thanks,

Takashi


More information about the Alsa-devel mailing list