ALSA: sb: Fix a typo
authorTakashi Iwai <tiwai@suse.de>
Thu, 2 Aug 2018 05:40:19 +0000 (07:40 +0200)
committerTakashi Iwai <tiwai@suse.de>
Thu, 2 Aug 2018 05:43:47 +0000 (07:43 +0200)
There was a typo of COPY_USER in the dead code (that is disabled
as default).

Fixes: 4b83eff81c81 ("ALSA: sb: Convert to the new PCM ops")
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/isa/sb/emu8000_pcm.c

index bc5af71d3bdb8f145ea3da19b3d4858b9e55ba2e..f46f6ec3ea0c31e5660ea555835887d918c6c0c7 100644 (file)
@@ -470,7 +470,7 @@ static int emu8k_pcm_copy(struct snd_pcm_substream *subs,
        /* convert to word unit */
        pos = (pos << 1) + rec->loop_start[voice];
        count <<= 1;
-       LOOP_WRITE(rec, pos, src, count, COPY_UESR);
+       LOOP_WRITE(rec, pos, src, count, COPY_USER);
        return 0;
 }