summaryrefslogtreecommitdiff
path: root/sound/pci/ad1889.c
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2019-12-10 09:34:00 +0300
committerTakashi Iwai <tiwai@suse.de>2019-12-11 09:25:35 +0300
commit164d0738248ac0befb4ce11ca60a06a41838af47 (patch)
tree1e5c83ff56d7e3c05c86a2366f9335a812ca2fec /sound/pci/ad1889.c
parent4bb1e4e7ccc2a955e933d0cec630da40012dcd42 (diff)
downloadlinux-164d0738248ac0befb4ce11ca60a06a41838af47.tar.xz
ALSA: ad1889: 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-2-tiwai@suse.de Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/ad1889.c')
-rw-r--r--sound/pci/ad1889.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/pci/ad1889.c b/sound/pci/ad1889.c
index 4b902c163fd3..7770157a3a8c 100644
--- a/sound/pci/ad1889.c
+++ b/sound/pci/ad1889.c
@@ -899,7 +899,7 @@ snd_ad1889_create(struct snd_card *card,
}
chip->irq = pci->irq;
- synchronize_irq(chip->irq);
+ card->sync_irq = chip->irq;
/* (2) initialization of the chip hardware */
if ((err = snd_ad1889_init(chip)) < 0) {