]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: dice: force to add two pcm devices for listed models
authorTakashi Sakamoto <o-takashi@sakamocchi.jp>
Mon, 7 Mar 2016 13:35:45 +0000 (22:35 +0900)
committerTakashi Iwai <tiwai@suse.de>
Wed, 9 Mar 2016 15:20:58 +0000 (16:20 +0100)
commit669c21ee7864eec44c8371165155a03cdea6e0e8
tree639f2a0953885e915a123745d950f190b170e156
parent626d171c2ac6d2246e0d470bd1b7d21ce5a579cc
ALSA: dice: force to add two pcm devices for listed models

Some models reduce the number of available isochronous streams for higher
sampling transfer frequency. Such models bring an issue about how to add
PCM substreams. When at lower sampling transfer frequency, the
models reports whole available streams, thus this driver can add enough
number of PCM substreams at probing time. On the other hand, at higher
sampling transfer frequency, this driver can just add reduced number of
PCM substreams. After probed, even if the sampling transfer frequency is
changed to lower rate, fewer PCM substreams are actually available. This
is inconvenience.

For the reason, this commit adds a list so that this driver assume models
on the list to have two pairs of PCM substreams. This list keeps the name
of model in which the number of available streams differs depending on
sampling transfer frequency.

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