From: Takashi Iwai Date: Tue, 27 Sep 2011 15:33:45 +0000 (+0200) Subject: ALSA: hda - Avoid unnecessary verbs to clear PCM formats X-Git-Tag: v3.2-rc1~127^2~31 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=218264ae9ab3e12a785e1faeb2e15c8ae7172863;p=pandora-kernel.git 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 --- Reading git-diff-tree failed