From 31ca192139a152fcc550b9ebfb0e2d2d6247585e Mon Sep 17 00:00:00 2001 From: Takashi Iwai Date: Mon, 19 Jan 2015 16:12:19 +0100 Subject: [PATCH] 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 Signed-off-by: Takashi Iwai --- sound/usb/line6/driver.c | 1 - 1 file changed, 1 deletion(-) diff --git a/sound/usb/line6/driver.c b/sound/usb/line6/driver.c index 6a3ec07d869f..f222d9ffeca5 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; }