commit | b9022f4d2cb4660249036768f7d09442b213d12f | [log] [tgz] |
---|---|---|
author | Takashi Sakamoto <o-takashi@sakamocchi.jp> | Mon Feb 08 22:54:17 2016 +0900 |
committer | Takashi Iwai <tiwai@suse.de> | Tue Feb 09 12:22:09 2016 +0100 |
tree | 9145786e967bf08bdd4e0201bd80589c325eb985 | |
parent | 1bc8e12d9480e072a7818e9cc51ff901662f2d22 [diff] |
ALSA: dice: add MIDI ports according to current number of MIDI substreams This commit changes the way to add ALSA MIDI ports. This driver read the number of multiplexed MIDI substreams from hardware register, then adds the same number of ALSA MIDI ports. This commit is based on my assumption that the number is fixed at all of supported sampling transfer frequency. Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp> Signed-off-by: Takashi Iwai <tiwai@suse.de>