You've already forked linux-apfs
mirror of
https://github.com/linux-apfs/linux-apfs.git
synced 2026-05-01 15:00:59 -07:00
ALSA: au88x0: fix wrong period_elapsed() call
The period_elapsed() call should be called when position moves. The idea was taken from ALSA bug#4455. Signed-off-by: Jaroslav Kysela <perex@perex.cz> Signed-off-by: Takashi Iwai <tiwai@suse.de>
This commit is contained in:
committed by
Takashi Iwai
parent
3fd43858c7
commit
e9ab33d03e
@@ -2440,7 +2440,8 @@ static irqreturn_t vortex_interrupt(int irq, void *dev_id)
|
||||
spin_lock(&vortex->lock);
|
||||
for (i = 0; i < NR_ADB; i++) {
|
||||
if (vortex->dma_adb[i].fifo_status == FIFO_START) {
|
||||
if (vortex_adbdma_bufshift(vortex, i)) ;
|
||||
if (!vortex_adbdma_bufshift(vortex, i))
|
||||
continue;
|
||||
spin_unlock(&vortex->lock);
|
||||
snd_pcm_period_elapsed(vortex->dma_adb[i].
|
||||
substream);
|
||||
|
||||
Reference in New Issue
Block a user