mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2025-01-19 15:56:14 +07:00
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>
This commit is contained in:
parent
b2a3b02392
commit
31ca192139
@ -700,7 +700,6 @@ int line6_suspend(struct usb_interface *interface, pm_message_t message)
|
|||||||
|
|
||||||
if (line6pcm != NULL) {
|
if (line6pcm != NULL) {
|
||||||
snd_pcm_suspend_all(line6pcm->pcm);
|
snd_pcm_suspend_all(line6pcm->pcm);
|
||||||
line6_pcm_disconnect(line6pcm);
|
|
||||||
line6pcm->flags = 0;
|
line6pcm->flags = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user