aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/sound/pci/cmipci.c
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2019-12-10 07:34:09 +0100
committerTakashi Iwai <tiwai@suse.de>2019-12-11 07:25:40 +0100
commit3663984e07a4806c891db66c1ac4fed5c36d38f2 (patch)
tree699eb04978d18bc1f7f638df7dd2263aabec58f8 /sound/pci/cmipci.c
parentALSA: ca0106: Support PCM sync_stop (diff)
downloadwireguard-linux-3663984e07a4806c891db66c1ac4fed5c36d38f2.tar.xz
wireguard-linux-3663984e07a4806c891db66c1ac4fed5c36d38f2.zip
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 <tiwai@suse.de>
Diffstat (limited to 'sound/pci/cmipci.c')
-rw-r--r--sound/pci/cmipci.c1
1 files changed, 1 insertions, 0 deletions
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);