ALSA: usb-audio: fix automatic Roland/Yamaha MIDI detection
authorClemens Ladisch <clemens@ladisch.de>
Sun, 11 Aug 2013 12:13:13 +0000 (14:13 +0200)
committerTakashi Iwai <tiwai@suse.de>
Mon, 12 Aug 2013 09:42:28 +0000 (11:42 +0200)
commitaa773bfe8f860173752258c9ba4bf51060fb0d07
treec7a61c31b6c2d6ba807a7d1708b4ff33a77b8517
parent4c2aee0032b70083dafebd733ed9c774633b2fa3
ALSA: usb-audio: fix automatic Roland/Yamaha MIDI detection

Commit aafe77cc45a5 (ALSA: usb-audio: add support for many Roland/Yamaha
devices) had several logic errors that prevented create_auto_midi_quirk
from enumerating any MIDI ports.

Reported-by: Keith A. Milner <maillist@superlative.org>
Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/usb/quirks.c