ALSA: dice: use stream formats to add MIDI substreams
authorTakashi Sakamoto <o-takashi@sakamocchi.jp>
Wed, 2 May 2018 10:16:49 +0000 (19:16 +0900)
committerTakashi Iwai <tiwai@suse.de>
Wed, 2 May 2018 14:02:05 +0000 (16:02 +0200)
commitb8f78234aa6a180db9b29da5b48c18d26c06ecc2
treebfdbbb4f0848350ca5a3a6041ec5820f01c8e218
parentafa617f219761473881ace59f31bd6713fed1833
ALSA: dice: use stream formats to add MIDI substreams

In former commits, proxy structure gets members for cache of stream
formats. The cache can be used to count the number of MIDI substreams
to add.

This commit uses the cache for this purpose.

Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/firewire/dice/dice-midi.c