diff options
author | Mark Brown <broonie@kernel.org> | 2020-10-28 21:36:35 +0000 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2020-10-28 21:36:35 +0000 |
commit | ce038aeaee68f2e41c732b4b91c7185a1cac14b5 (patch) | |
tree | baa463fe66186edf19b3ca65d002f66dd75f09a1 /sound/drivers/vx/vx_pcm.c | |
parent | 6d6bc54ab4f2404d46078abc04bf4dee4db01def (diff) | |
parent | 3650b228f83adda7e5ee532e2b90429c03f7b9ec (diff) | |
download | lwn-ce038aeaee68f2e41c732b4b91c7185a1cac14b5.tar.gz lwn-ce038aeaee68f2e41c732b4b91c7185a1cac14b5.zip |
Merge tag 'v5.10-rc1' into asoc-5.10
Linux 5.10-rc1
Diffstat (limited to 'sound/drivers/vx/vx_pcm.c')
-rw-r--r-- | sound/drivers/vx/vx_pcm.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/sound/drivers/vx/vx_pcm.c b/sound/drivers/vx/vx_pcm.c index 664b9efa9a50..3d2e3bcafca8 100644 --- a/sound/drivers/vx/vx_pcm.c +++ b/sound/drivers/vx/vx_pcm.c @@ -60,7 +60,6 @@ static void vx_pcm_read_per_bytes(struct vx_core *chip, struct snd_pcm_runtime * *buf++ = vx_inb(chip, RXL); if (++offset >= pipe->buffer_bytes) { offset = 0; - buf = (unsigned char *)runtime->dma_area; } pipe->hw_ptr = offset; } @@ -530,7 +529,6 @@ static int vx_pcm_playback_open(struct snd_pcm_substream *subs) err = vx_alloc_pipe(chip, 0, audio, 2, &pipe); /* stereo playback */ if (err < 0) return err; - chip->playback_pipes[audio] = pipe; } /* open for playback */ pipe->references++; |