From: Takashi Iwai Date: Fri, 2 May 2014 16:14:42 +0000 (+0200) Subject: ALSA: usb-audio: Save mixer status only once at suspend X-Git-Tag: omap-for-v3.16/fixes-against-rc1~202^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1c53e7253ed8769a00afa0f06777d731dbe1ba6f;p=pandora-kernel.git ALSA: usb-audio: Save mixer status only once at suspend The suspend callback of usb-audio driver may be called multiple times per suspend when multiple USB interfaces are bound to a single sound card instance. In such a case, it's superfluous to save the mixer values multiple times. This patch fixes it by checking the counter. Signed-off-by: Takashi Iwai --- Reading git-diff-tree failed