[alsa-devel] [PATCH 46/55] ALSA: sb: Support PCM sync_stop
Takashi Iwai
tiwai at suse.de
Tue Dec 10 07:34:45 CET 2019
The driver invokes snd_pcm_period_elapsed() simply from the interrupt
handler. Set card->sync_irq for enabling the missing sync_stop PCM
operation.
Signed-off-by: Takashi Iwai <tiwai at suse.de>
---
sound/isa/sb/sb_common.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/sound/isa/sb/sb_common.c b/sound/isa/sb/sb_common.c
index ff031d670400..4aaf9ab82afe 100644
--- a/sound/isa/sb/sb_common.c
+++ b/sound/isa/sb/sb_common.c
@@ -233,6 +233,7 @@ int snd_sbdsp_create(struct snd_card *card,
return -EBUSY;
}
chip->irq = irq;
+ card->sync_irq = chip->irq;
if (hardware == SB_HW_ALS4000)
goto __skip_allocation;
--
2.16.4
More information about the Alsa-devel
mailing list