linux/sound/firewire/dice
Takashi Sakamoto 28b208f600 ALSA: dice: add parameters of stream formats for models produced by Alesis
Alesis shipped some models with DICE ASICs. All of them just support
DICE original protocol and drivers can't retrieve all of available stream
formats without changing status of sampling transmission frequency
actually.

This commit puts some hard-coded parameters for the models. When detecting
the models, the corresponding parameters are copied as cache of stream
formats.

I note that each of pair of iO14/iO26 and MultiMix 8/12/16 has the same
model ID on their configuration ROM. The MultiMix 8/12/16 just support
one mode for sampling transmission frequency and ALSA dice driver already
handles them correctly. The iO14/iO26 support three modes and need
hard-coded parameters. To distinguish these two models, this commit let
the driver to retrieve current stream formats and compare it to known
parameters, then decide it.

Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
2018-05-02 16:01:57 +02:00
..
Makefile ALSA: dice: add parameters of stream formats for models produced by Alesis 2018-05-02 16:01:57 +02:00
dice-alesis.c ALSA: dice: add parameters of stream formats for models produced by Alesis 2018-05-02 16:01:57 +02:00
dice-hwdep.c vfs: do bulk POLL* -> EPOLL* replacement 2018-02-11 14:34:03 -08:00
dice-interface.h ALSA: dice: improve support for ancient firmware for DICE 2018-04-24 17:18:59 +02:00
dice-midi.c ALSA: firewire: Constify snd_rawmidi_ops 2017-01-12 12:50:38 +01:00
dice-pcm.c ALSA: firewire: arrange common PCM info/constraints for AMDTP engine applications 2017-06-08 09:15:44 +02:00
dice-proc.c ALSA: dice: add proc node for stream formation 2018-05-02 16:01:53 +02:00
dice-stream.c ALSA: dice: cache stream formats at current mode of sampling transmission frequency 2018-05-02 16:01:54 +02:00
dice-tcelectronic.c ALSA: dice: add parameters of stream formats for models produced by TC Electronic 2018-05-02 16:01:55 +02:00
dice-transaction.c ALSA: dice: improve support for ancient firmware for DICE 2018-04-24 17:18:59 +02:00
dice.c ALSA: dice: add parameters of stream formats for models produced by Alesis 2018-05-02 16:01:57 +02:00
dice.h ALSA: dice: add parameters of stream formats for models produced by Alesis 2018-05-02 16:01:57 +02:00