diff options
author | Takashi Iwai <tiwai@suse.de> | 2015-01-19 10:12:19 -0500 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2015-01-20 02:18:33 -0500 |
commit | 31ca192139a152fcc550b9ebfb0e2d2d6247585e (patch) | |
tree | e2de6010118f1a4580e5053469da7359158b343e /sound | |
parent | b2a3b02392836b8cc0aa4246d7496028911f1539 (diff) |
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')
-rw-r--r-- | sound/usb/line6/driver.c | 1 |
1 files changed, 0 insertions, 1 deletions
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) | |||
700 | 700 | ||
701 | if (line6pcm != NULL) { | 701 | if (line6pcm != NULL) { |
702 | snd_pcm_suspend_all(line6pcm->pcm); | 702 | snd_pcm_suspend_all(line6pcm->pcm); |
703 | line6_pcm_disconnect(line6pcm); | ||
704 | line6pcm->flags = 0; | 703 | line6pcm->flags = 0; |
705 | } | 704 | } |
706 | 705 | ||