Skip to content
Commit 1c53e725 authored by Takashi Iwai's avatar Takashi Iwai
Browse files

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: default avatarTakashi Iwai <tiwai@suse.de>
parent b7a77235
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