ALSA: dice: add stream format parameters for Weiss devices
authorTakashi Sakamoto <o-takashi@sakamocchi.jp>
Wed, 9 Aug 2023 00:26:31 +0000 (09:26 +0900)
committerTakashi Iwai <tiwai@suse.de>
Thu, 10 Aug 2023 08:10:34 +0000 (10:10 +0200)
commitff7a0b4016cb349f9148d0bf9c664e604167128c
tree00052da3cb161f2e8d404d9213c91f37bf9b2002
parent3d28c466317b9515810a1f5ec29be394269bcb73
ALSA: dice: add stream format parameters for Weiss devices

Hard-coded stream format parameters are added for Weiss Engineering
FireWire devices. When the device vendor and model match, the parameters
are copied into the stream format cache. This allows for setting all
supported sampling rates up to 192kHz, and consequently adjusting the
number of available I/O channels.

Signed-off-by: Rolf Anderegg <rolf.anderegg@weiss.ch>
Signed-off-by: Michele Perrone <michele.perrone@weiss.ch>
Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Link: https://lore.kernel.org/r/20230809002631.750120-1-o-takashi@sakamocchi.jp
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/firewire/dice/Makefile
sound/firewire/dice/dice-weiss.c [new file with mode: 0644]
sound/firewire/dice/dice.c
sound/firewire/dice/dice.h