diff options
author | Takashi Sakamoto <o-takashi@sakamocchi.jp> | 2018-08-06 16:14:06 +0900 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-08-22 07:43:41 +0200 |
commit | 1c0888fb4b4912b567a2b4329fcbd6e1c58c89c8 (patch) | |
tree | f17e8577baa28b65c39bddf201a664c1942439b3 | |
parent | eeb2943acc746d50b5b92f5058f90a398c2589bf (diff) | |
download | linux-1c0888fb4b4912b567a2b4329fcbd6e1c58c89c8.tar.gz |
ALSA: dice: fix wrong copy to rx parameters for Alesis iO26
commit 627661ced8246c8e833f3bc3817070e934cd79ba upstream.
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 <o-takashi@sakamocchi.jp>
Cc: <stable@vger.kernel.org> # v4.18
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r-- | sound/firewire/dice/dice-alesis.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/firewire/dice/dice-alesis.c b/sound/firewire/dice/dice-alesis.c index b2efb1c71a98d..218292bdace6f 100644 --- a/sound/firewire/dice/dice-alesis.c +++ b/sound/firewire/dice/dice-alesis.c @@ -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)); } |