diff options
author | Takashi Iwai | 2019-12-10 07:34:41 +0100 |
---|---|---|
committer | Takashi Iwai | 2019-12-11 07:25:56 +0100 |
commit | 914da689090c094dd1ffce02b1fa13d7e9411ea0 (patch) | |
tree | 19be6443947c9cce8be59b78963adf3150e8f808 /sound/isa/gus/gusmax.c | |
parent | 58dad836f98cdba69bb4f0b0a9a19af8e39e9fbf (diff) |
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/gusmax.c')
-rw-r--r-- | sound/isa/gus/gusmax.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sound/isa/gus/gusmax.c b/sound/isa/gus/gusmax.c index 53eca205f870..efe576625f48 100644 --- a/sound/isa/gus/gusmax.c +++ b/sound/isa/gus/gusmax.c @@ -282,7 +282,8 @@ static int snd_gusmax_probe(struct device *pdev, unsigned int dev) goto _err; } maxcard->irq = xirq; - + card->sync_irq = maxcard->irq; + err = snd_wss_create(card, gus->gf1.port + 0x10c, -1, xirq, xdma2 < 0 ? xdma1 : xdma2, xdma1, |