summaryrefslogtreecommitdiff
path: root/sound/isa
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2019-12-10 09:34:42 +0300
committerTakashi Iwai <tiwai@suse.de>2019-12-11 09:25:56 +0300
commit52f623d0a84d7c6240e53e964caaaec61b62aa9d (patch)
tree3f5a8d798eb37c9f6fbab9e70b120fd0194cc3df /sound/isa
parent914da689090c094dd1ffce02b1fa13d7e9411ea0 (diff)
downloadlinux-52f623d0a84d7c6240e53e964caaaec61b62aa9d.tar.xz
ALSA: msnd: 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-44-tiwai@suse.de Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/isa')
-rw-r--r--sound/isa/msnd/msnd_pinnacle.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/isa/msnd/msnd_pinnacle.c b/sound/isa/msnd/msnd_pinnacle.c
index e435ebd0ced4..9e7f03eec7e6 100644
--- a/sound/isa/msnd/msnd_pinnacle.c
+++ b/sound/isa/msnd/msnd_pinnacle.c
@@ -538,6 +538,7 @@ static int snd_msnd_attach(struct snd_card *card)
printk(KERN_ERR LOGNAME ": Couldn't grab IRQ %d\n", chip->irq);
return err;
}
+ card->sync_irq = chip->irq;
if (request_region(chip->io, DSP_NUMIO, card->shortname) == NULL) {
free_irq(chip->irq, chip);
return -EBUSY;