]> 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)
commitd5394a731a923319281c79cc0a4a0cabde0decba
tree639f2a0953885e915a123745d950f190b170e156
parentaad13b1ac4b91637b18fc57bb3e1948d033d17c0
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