projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b2a3b02
)
ALSA: line6: Remove superfluous disconnect call in suspend handler
author
Takashi Iwai
<tiwai@suse.de>
Mon, 19 Jan 2015 15:12:19 +0000
(16:12 +0100)
committer
Takashi Iwai
<tiwai@suse.de>
Tue, 20 Jan 2015 07:18:33 +0000
(08:18 +0100)
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>
sound/usb/line6/driver.c
patch
|
blob
|
history
diff --git
a/sound/usb/line6/driver.c
b/sound/usb/line6/driver.c
index 6a3ec07d869f60d5eeace0c3c059038b81c9c5df..f222d9ffeca5bb8d26d7c346187a90d19c91b898 100644
(file)
--- 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;
}