[alsa-devel] [PATCH 34/55] ALSA: sis7019: Support PCM sync_stop

Takashi Iwai tiwai at suse.de
Tue Dec 10 07:34:33 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/pci/sis7019.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/sound/pci/sis7019.c b/sound/pci/sis7019.c
index 06dccf080bcc..515598e3cacf 100644
--- a/sound/pci/sis7019.c
+++ b/sound/pci/sis7019.c
@@ -1335,6 +1335,7 @@ static int sis_chip_create(struct snd_card *card,
 	}
 
 	sis->irq = pci->irq;
+	card->sync_irq = sis->irq;
 	pci_set_master(pci);
 
 	for (i = 0; i < 64; i++) {
-- 
2.16.4



More information about the Alsa-devel mailing list