summaryrefslogtreecommitdiff
path: root/sound/usb
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2015-01-19 15:12:19 (GMT)
committerTakashi Iwai <tiwai@suse.de>2015-01-20 07:18:33 (GMT)
commit31ca192139a152fcc550b9ebfb0e2d2d6247585e (patch)
treee2de6010118f1a4580e5053469da7359158b343e /sound/usb
parentb2a3b02392836b8cc0aa4246d7496028911f1539 (diff)
downloadlinux-31ca192139a152fcc550b9ebfb0e2d2d6247585e.tar.xz
ALSA: line6: Remove superfluous disconnect call in suspend handler
Calling line6_pcm_disconnect() at suspend callback is superfluous and rather confusing. Let's get rid of it. Tested-by: Chris Rorvick <chris@rorvick.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/usb')
-rw-r--r--sound/usb/line6/driver.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/sound/usb/line6/driver.c b/sound/usb/line6/driver.c
index 6a3ec07..f222d9f 100644
--- a/sound/usb/line6/driver.c
+++ b/sound/usb/line6/driver.c
@@ -700,7 +700,6 @@ int line6_suspend(struct usb_interface *interface, pm_message_t message)
if (line6pcm != NULL) {
snd_pcm_suspend_all(line6pcm->pcm);
- line6_pcm_disconnect(line6pcm);
line6pcm->flags = 0;
}