diff options
author | Takashi Iwai <tiwai@suse.de> | 2011-09-27 17:33:45 +0200 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2011-09-27 17:33:45 +0200 |
commit | 218264ae9ab3e12a785e1faeb2e15c8ae7172863 (patch) | |
tree | fe2e22fefa237cbf6e8e90da967aa89dd2c76ee1 /sound/pci/hda/patch_via.c | |
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>
Diffstat (limited to 'sound/pci/hda/patch_via.c')
0 files changed, 0 insertions, 0 deletions