diff mbox series

ALSA: dice: fix stream format for TC Electronic Konnekt Live at high sampling transfer frequency

Message ID 20210518012612.37268-1-o-takashi@sakamocchi.jp (mailing list archive)
State Accepted
Commit 4c6fe8c547e3c9e8c15dabdd23c569ee0df3adb1
Headers show
Series ALSA: dice: fix stream format for TC Electronic Konnekt Live at high sampling transfer frequency | expand

Commit Message

Takashi Sakamoto May 18, 2021, 1:26 a.m. UTC
At high sampling transfer frequency, TC Electronic Konnekt Live
transfers/receives 6 audio data frames in multi bit linear audio data
channel of data block in CIP payload. Current hard-coded stream format
is wrong.

Cc: <stable@vger.kernel.org>
Fixes: f1f0f330b1d0 ("ALSA: dice: add parameters of stream formats for models produced by TC Electronic")
Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
---
 sound/firewire/dice/dice-tcelectronic.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Comments

Takashi Iwai May 18, 2021, 7:04 a.m. UTC | #1
On Tue, 18 May 2021 03:26:12 +0200,
Takashi Sakamoto wrote:
> 
> At high sampling transfer frequency, TC Electronic Konnekt Live
> transfers/receives 6 audio data frames in multi bit linear audio data
> channel of data block in CIP payload. Current hard-coded stream format
> is wrong.
> 
> Cc: <stable@vger.kernel.org>
> Fixes: f1f0f330b1d0 ("ALSA: dice: add parameters of stream formats for models produced by TC Electronic")
> Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>

Thanks, applied.


Takashi
diff mbox series

Patch

diff --git a/sound/firewire/dice/dice-tcelectronic.c b/sound/firewire/dice/dice-tcelectronic.c
index a8875d24ba2a..43a3bcb15b3d 100644
--- a/sound/firewire/dice/dice-tcelectronic.c
+++ b/sound/firewire/dice/dice-tcelectronic.c
@@ -38,8 +38,8 @@  static const struct dice_tc_spec konnekt_24d = {
 };
 
 static const struct dice_tc_spec konnekt_live = {
-	.tx_pcm_chs = {{16, 16, 16}, {0, 0, 0} },
-	.rx_pcm_chs = {{16, 16, 16}, {0, 0, 0} },
+	.tx_pcm_chs = {{16, 16, 6}, {0, 0, 0} },
+	.rx_pcm_chs = {{16, 16, 6}, {0, 0, 0} },
 	.has_midi = true,
 };