diff options
author | Takashi Sakamoto <o-takashi@sakamocchi.jp> | 2016-03-07 16:35:45 +0300 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2016-03-09 18:20:58 +0300 |
commit | 7cafc65b3aa1b6970f92211c55712f115d876cfc (patch) | |
tree | 639f2a0953885e915a123745d950f190b170e156 /sound/firewire/dice/dice.h | |
parent | 4bdc495c87b323721eace38c581d7bd2652aa613 (diff) | |
download | linux-7cafc65b3aa1b6970f92211c55712f115d876cfc.tar.xz |
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>
Diffstat (limited to 'sound/firewire/dice/dice.h')
-rw-r--r-- | sound/firewire/dice/dice.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sound/firewire/dice/dice.h b/sound/firewire/dice/dice.h index 8fba87d83810..e6c07857f475 100644 --- a/sound/firewire/dice/dice.h +++ b/sound/firewire/dice/dice.h @@ -97,6 +97,8 @@ struct snd_dice { bool global_enabled; struct completion clock_accepted; unsigned int substreams_counter; + + bool force_two_pcms; }; enum snd_dice_addr_type { |