Skip to content
Commit 218264ae authored by Takashi Iwai's avatar Takashi Iwai
Browse files

ALSA: hda - Avoid unnecessary verbs to clear PCM formats



Since really_cleanup_stream() is called from both purity_inactive_streams()
and hda_cleanup_all_streams(), the verbs to clear the PCM channel and
format may be called multiple times unnecessarily.

This patch adds checks to skip these unneeded verbs.

Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
parent 5ec02a1c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment