android_kernel_xiaomi_sm7250/sound/firewire/dice
Takashi Sakamoto 52b18cb684 ALSA: dice: fix stream format at middle sampling rate for Alesis iO 26
commit 1b6604896e78969baffc1b6cc6bc175f95929ac4 upstream.

Alesis iO 26 FireWire has two pairs of digital optical interface. It
delivers PCM frames from the interfaces by second isochronous packet
streaming. Although both of the interfaces are available at 44.1/48.0
kHz, first one of them is only available at 88.2/96.0 kHz. It reduces
the number of PCM samples to 4 in Multi Bit Linear Audio data channel
of data blocks on the second isochronous packet streaming.

This commit fixes hardcoded stream formats.

Cc: <stable@vger.kernel.org>
Fixes: 28b208f600 ("ALSA: dice: add parameters of stream formats for models produced by Alesis")
Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Link: https://lore.kernel.org/r/20210513125652.110249-2-o-takashi@sakamocchi.jp
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2021-05-26 11:48:32 +02:00
..
dice-alesis.c ALSA: dice: fix stream format at middle sampling rate for Alesis iO 26 2021-05-26 11:48:32 +02:00
dice-extension.c
dice-hwdep.c
dice-interface.h
dice-midi.c
dice-mytek.c
dice-pcm.c
dice-proc.c
dice-stream.c
dice-tcelectronic.c
dice-transaction.c
dice.c
dice.h
Makefile