diff mbox

[14/17] ALSA: line6: Remove superfluous disconnect call in suspend handler

Message ID 1421682891-11594-15-git-send-email-tiwai@suse.de (mailing list archive)
State Accepted
Commit 31ca192139a152fcc550b9ebfb0e2d2d6247585e
Headers show

Commit Message

Takashi Iwai Jan. 19, 2015, 3:54 p.m. UTC
Calling line6_pcm_disconnect() at suspend callback is superfluous and
rather confusing.  Let's get rid of it.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
---
 sound/usb/line6/driver.c | 1 -
 1 file changed, 1 deletion(-)
diff mbox

Patch

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;
 	}