ALSA: dice: fix stream format at middle sampling rate for Alesis iO 26
authorTakashi Sakamoto <o-takashi@sakamocchi.jp>
Thu, 13 May 2021 12:56:48 +0000 (21:56 +0900)
committerTakashi Iwai <tiwai@suse.de>
Fri, 14 May 2021 07:40:15 +0000 (09:40 +0200)
commit1b6604896e78969baffc1b6cc6bc175f95929ac4
tree8f9a74cdeae812f0d7ac27c0b5af7f2d212197ef
parentf2be77fee648ddd6d0d259d3527344ba0120e314
ALSA: dice: fix stream format at middle sampling rate for Alesis iO 26

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: 28b208f600a3 ("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>
sound/firewire/dice/dice-alesis.c