aboutsummaryrefslogtreecommitdiff
path: root/sound/pci/sis7019.c
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2019-12-10 07:34:33 +0100
committerTakashi Iwai <tiwai@suse.de>2019-12-11 07:25:52 +0100
commit39b77268c8cdfff171c09c22f7ee8069139d4f20 (patch)
tree36739a319d8f65628a11c35ceccbd72cfad19395 /sound/pci/sis7019.c
parent39cccf4511fd00c591c989edb47c8ed51aba0282 (diff)
downloadlinux-stericsson-39b77268c8cdfff171c09c22f7ee8069139d4f20.tar.gz
ALSA: sis7019: 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-35-tiwai@suse.de Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/sis7019.c')
-rw-r--r--sound/pci/sis7019.c1
1 files changed, 1 insertions, 0 deletions
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++) {