]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit0093c866ddb81c0f04d2932c8abb3c254db2d28b
treec0d28b3822f4ef6a4e0c33e9dc9c19d849e97033
parent09e4e01e2bf653170de5e6432c495e6e388b2559
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