diff options
author | Jaroslav Kysela <[email protected]> | 2022-09-13 09:02:16 +0200 |
---|---|---|
committer | Takashi Iwai <[email protected]> | 2022-09-16 16:15:20 +0200 |
commit | 5f80d6bd2b01de4cafac3302f58456bf860322fc (patch) | |
tree | d1e56468d58dab9d4166c5ec6ca2125857de3146 /tools/perf/util/trace-event-scripting.c | |
parent | ba1f818053b0668a1ce2fe86b840e81b592cc560 (diff) |
ALSA: hda/hdmi: Fix the converter reuse for the silent stream
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 <[email protected]>
Signed-off-by: Jaroslav Kysela <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Takashi Iwai <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions