From: Takashi Iwai Date: Tue, 10 Dec 2019 06:34:09 +0000 (+0100) Subject: ALSA: cmipci: Support PCM sync_stop X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=3663984e07a4806c891db66c1ac4fed5c36d38f2;p=openwrt%2Fstaging%2Fblogic.git ALSA: cmipci: 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-11-tiwai@suse.de Signed-off-by: Takashi Iwai --- diff --git a/sound/pci/cmipci.c b/sound/pci/cmipci.c index 0e0f528805bf..4bfab21c53f4 100644 --- a/sound/pci/cmipci.c +++ b/sound/pci/cmipci.c @@ -3024,6 +3024,7 @@ static int snd_cmipci_create(struct snd_card *card, struct pci_dev *pci, return -EBUSY; } cm->irq = pci->irq; + card->sync_irq = cm->irq; pci_set_master(cm->pci);