summaryrefslogtreecommitdiffstats
path: root/sound/usb/endpoint.c
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2014-05-02 18:14:42 +0200
committerTakashi Iwai <tiwai@suse.de>2014-05-02 18:14:42 +0200
commit1c53e7253ed8769a00afa0f06777d731dbe1ba6f (patch)
tree63d9f275184d0ccd6d2be62d92b6e8d7c2e670f8 /sound/usb/endpoint.c
parentb7a7723513dc89f83d6df13206df55d4dc26e825 (diff)
downloadop-kernel-dev-1c53e7253ed8769a00afa0f06777d731dbe1ba6f.zip
op-kernel-dev-1c53e7253ed8769a00afa0f06777d731dbe1ba6f.tar.gz
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 <tiwai@suse.de>
Diffstat (limited to 'sound/usb/endpoint.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud