diff options
author | Takashi Iwai <tiwai@suse.de> | 2019-12-10 07:34:41 +0100 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2019-12-11 07:25:56 +0100 |
commit | 914da689090c094dd1ffce02b1fa13d7e9411ea0 (patch) | |
tree | 19be6443947c9cce8be59b78963adf3150e8f808 /sound/isa/gus/gus_main.c | |
parent | ALSA: es18xx: Support PCM sync_stop (diff) | |
download | linux-914da689090c094dd1ffce02b1fa13d7e9411ea0.tar.xz linux-914da689090c094dd1ffce02b1fa13d7e9411ea0.zip |
ALSA: gus: 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-43-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/isa/gus/gus_main.c')
-rw-r--r-- | sound/isa/gus/gus_main.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/isa/gus/gus_main.c b/sound/isa/gus/gus_main.c index af6b4d89d695..9f94b5f3b029 100644 --- a/sound/isa/gus/gus_main.c +++ b/sound/isa/gus/gus_main.c @@ -181,6 +181,7 @@ int snd_gus_create(struct snd_card *card, return -EBUSY; } gus->gf1.irq = irq; + card->sync_irq = irq; if (request_dma(dma1, "GUS - 1")) { snd_printk(KERN_ERR "gus: can't grab DMA1 %d\n", dma1); snd_gus_free(gus); |