]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitd507c157e6d208103bf96828d4a15630a4b0dc3f
treebfdbbb4f0848350ca5a3a6041ec5820f01c8e218
parent347fffaa0fbdbecd0519d582c7750ac607f40bca
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