Blob Blame History Raw
From 39b77268c8cdfff171c09c22f7ee8069139d4f20 Mon Sep 17 00:00:00 2001
From: Takashi Iwai <tiwai@suse.de>
Date: Tue, 10 Dec 2019 07:34:33 +0100
Subject: [PATCH] ALSA: sis7019: Support PCM sync_stop
Git-commit: 39b77268c8cdfff171c09c22f7ee8069139d4f20
Patch-mainline: v5.6-rc1
References: jsc#SLE-16518

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-35-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@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