summaryrefslogtreecommitdiffstats
path: root/sound/pci/trident
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2019-12-10 07:34:35 +0100
committerTakashi Iwai <tiwai@suse.de>2019-12-11 07:25:53 +0100
commit4a9ff148bd348f7489fcc9d1a1ef3723b6f329be (patch)
tree7d5ccb2115e2265e5d9800ae992f47a022c4f3db /sound/pci/trident
parent93042ac2bc40658e8e2cd809644e37bda05cf4fc (diff)
downloadlinux-4a9ff148bd348f7489fcc9d1a1ef3723b6f329be.tar.bz2
ALSA: trident: 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-37-tiwai@suse.de Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/trident')
-rw-r--r--sound/pci/trident/trident_main.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/pci/trident/trident_main.c b/sound/pci/trident/trident_main.c
index 0e02578c2b3d..0d039eacbf0a 100644
--- a/sound/pci/trident/trident_main.c
+++ b/sound/pci/trident/trident_main.c
@@ -3543,6 +3543,7 @@ int snd_trident_create(struct snd_card *card,
return -EBUSY;
}
trident->irq = pci->irq;
+ card->sync_irq = trident->irq;
/* allocate 16k-aligned TLB for NX cards */
trident->tlb.entries = NULL;