sound: seq_midi: do not send MIDI reset when closing
authorClemens Ladisch <clemens@ladisch.de>
Mon, 13 Jul 2009 11:50:17 +0000 (13:50 +0200)
committerTakashi Iwai <tiwai@suse.de>
Wed, 15 Jul 2009 09:56:58 +0000 (11:56 +0200)
commitb86c87288c2205376ee213d6a03ac9422faf014a
treeaa1792c67fe0b2a9006c45c644b8b46f6e9c2286
parentf907ed94f993b0cd366c26eaa88b90c5454203ae
sound: seq_midi: do not send MIDI reset when closing

Sending a MIDI reset message when closing a port is wrong because we
only want to shut the device up, not to reset all settings.
Furthermore, many devices ignore this message.

Fortunately, the RawMIDI layer already shuts the device up, so we can
ignore this matter here.

Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/core/seq/seq_midi.c