commit | 218264ae9ab3e12a785e1faeb2e15c8ae7172863 | [log] [tgz] |
---|---|---|
author | Takashi Iwai <tiwai@suse.de> | Tue Sep 27 17:33:45 2011 +0200 |
committer | Takashi Iwai <tiwai@suse.de> | Tue Sep 27 17:33:45 2011 +0200 |
tree | fe2e22fefa237cbf6e8e90da967aa89dd2c76ee1 | |
parent | 5ec02a1cfa9497f585721ec775c9b3e2783ff6fb [diff] |
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: Takashi Iwai <tiwai@suse.de>