[alsa-devel] [PATCH 14/17] ALSA: line6: Remove superfluous disconnect call in suspend handler
Takashi Iwai
tiwai at suse.de
Mon Jan 19 16:54:48 CET 2015
Calling line6_pcm_disconnect() at suspend callback is superfluous and
rather confusing. Let's get rid of it.
Signed-off-by: Takashi Iwai <tiwai at suse.de>
---
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;
}
--
2.2.1
More information about the Alsa-devel
mailing list