OSDN Git Service

ALSA: usb-audio: generate midi streaming substream names from jack names
authorGeorge Harker <george@george-graphics.co.uk>
Fri, 26 Feb 2021 21:26:16 +0000 (21:26 +0000)
committerTakashi Iwai <tiwai@suse.de>
Mon, 1 Mar 2021 08:21:54 +0000 (09:21 +0100)
commiteb596e0fd13c83b4a66559a45b57b71aac340d30
treee2c0b379fab3ff41f744fcefcb562b9c4482c880
parentd6e68c57e35b69b31d9fa5a61b37c840973db362
ALSA: usb-audio: generate midi streaming substream names from jack names

A number of devices have named substreams which are hard to remember /
decypher from <device> MIDI n names. Eg. Korg puts a pass through on
one substream and iConnectivity devices name the connections.

This makes it easier to connect to the correct device.  Devices which
handle naming through quirks are unaffected by this change.

Addresses TODO comment in sound/usb/midi.c

Signed-off-by: George Harker <george@george-graphics.co.uk>
Link: https://lore.kernel.org/r/20210226212617.24616-1-george@george-graphics.co.uk
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/usb/midi.c
sound/usb/midi.h