Skip to content

Commit

Permalink
ALSA: es18xx: Support PCM sync_stop
Browse files Browse the repository at this point in the history
The driver invokes snd_pcm_period_elapsed() simply from the interrupt
handler.  Set card->sync_irq for enabling the missing sync_stop PCM
operation.

Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Takashi Iwai <[email protected]>
  • Loading branch information
tiwai committed Dec 11, 2019
1 parent f5ac512 commit 58dad83
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions sound/isa/es18xx.c
Original file line number Diff line number Diff line change
Expand Up @@ -1781,6 +1781,7 @@ static int snd_es18xx_new_device(struct snd_card *card,
return -EBUSY;
}
chip->irq = irq;
card->sync_irq = chip->irq;

if (request_dma(dma1, "ES18xx DMA 1")) {
snd_es18xx_free(card);
Expand Down

0 comments on commit 58dad83

Please sign in to comment.