summaryrefslogtreecommitdiff
path: root/sound/isa
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2019-12-10 07:34:40 +0100
committerTakashi Iwai <tiwai@suse.de>2019-12-11 07:25:55 +0100
commit58dad836f98cdba69bb4f0b0a9a19af8e39e9fbf (patch)
tree5c1f9f1433f6cf63b9d51eb076a460a98484979f /sound/isa
parentf5ac512085b5c2667f8db5f09ce8b87648e5cce4 (diff)
ALSA: es18xx: Support PCM sync_stop
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/20191210063454.31603-42-tiwai@suse.de Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/isa')
-rw-r--r--sound/isa/es18xx.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/isa/es18xx.c b/sound/isa/es18xx.c
index 87a0a33807e7..a581083b876b 100644
--- a/sound/isa/es18xx.c
+++ b/sound/isa/es18xx.c
@@ -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);