]> Git Repo - linux.git/commitdiff
ALSA: dice: fix wrong copy to rx parameters for Alesis iO26
authorTakashi Sakamoto <[email protected]>
Mon, 6 Aug 2018 07:14:06 +0000 (16:14 +0900)
committerTakashi Iwai <[email protected]>
Mon, 6 Aug 2018 07:35:32 +0000 (09:35 +0200)
A commit 28b208f600a3 ('ALSA: dice: add parameters of stream formats for
models produced by Alesis') adds wrong copy to rx parameters instead of
tx parameters for Alesis iO26.

This commit fixes the bug for v4.18-rc8.

Fixes: 28b208f600a3 ('ALSA: dice: add parameters of stream formats for models produced by Alesis')
Signed-off-by: Takashi Sakamoto <[email protected]>
Cc: <[email protected]> # v4.18
Signed-off-by: Takashi Iwai <[email protected]>
sound/firewire/dice/dice-alesis.c

index b2efb1c71a98dd8bc49fb00a7a79500fcc84222b..218292bdace6fd63bbc5e94060cd20d69146cdca 100644 (file)
@@ -37,7 +37,7 @@ int snd_dice_detect_alesis_formats(struct snd_dice *dice)
                                MAX_STREAMS * SND_DICE_RATE_MODE_COUNT *
                                sizeof(unsigned int));
        } else {
-               memcpy(dice->rx_pcm_chs, alesis_io26_tx_pcm_chs,
+               memcpy(dice->tx_pcm_chs, alesis_io26_tx_pcm_chs,
                                MAX_STREAMS * SND_DICE_RATE_MODE_COUNT *
                                sizeof(unsigned int));
        }
This page took 0.059881 seconds and 4 git commands to generate.