ALSA: dice: add parameters of stream formats for models produced by TC Electronic
authorTakashi Sakamoto <o-takashi@sakamocchi.jp>
Wed, 2 May 2018 10:16:43 +0000 (19:16 +0900)
committerTakashi Iwai <tiwai@suse.de>
Wed, 2 May 2018 14:01:55 +0000 (16:01 +0200)
commitf1f0f330b1d0ac1bcc38d7c84d439f4fde341a9c
treec0d28b3822f4ef6a4e0c33e9dc9c19d849e97033
parentb60152f750ca22ddee20954228d1bcbf45c936f7
ALSA: dice: add parameters of stream formats for models produced by TC Electronic

TC Electronic 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.

Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/firewire/dice/Makefile
sound/firewire/dice/dice-tcelectronic.c [new file with mode: 0644]
sound/firewire/dice/dice.c
sound/firewire/dice/dice.h