]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
ALSA: usb-audio: Respond to suspend and resume callbacks for MIDI input
authorAdam Goode <agoode@google.com>
Tue, 5 Aug 2014 16:44:50 +0000 (12:44 -0400)
committerTakashi Iwai <tiwai@suse.de>
Tue, 5 Aug 2014 18:08:00 +0000 (20:08 +0200)
commitf7881e5e8ef305e62084bf3d31b5b0d827fdf511
tree8b9c547475e928678582f6892286310f3a53abe0
parent81cb6b6be54d160ac8feb61f1510f33a3cece1d3
ALSA: usb-audio: Respond to suspend and resume callbacks for MIDI input

sound/usb/card.c registers USB suspend and resume but did not previously
kill the input URBs. This means that USB MIDI devices left open across
suspend/resume had non-functional input (output still usually worked,
but it looks like that is another issue). Before this change, we would
get ESHUTDOWN for each of the input URBs at suspend time, killing input.

Signed-off-by: Adam Goode <agoode@google.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/usb/card.c
sound/usb/midi.c
sound/usb/midi.h