aboutsummaryrefslogtreecommitdiffstats
path: root/sound/pci/rme9652/rme9652.c
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2019-12-10 07:34:32 +0100
committerTakashi Iwai <tiwai@suse.de>2019-12-11 07:25:52 +0100
commit39cccf4511fd00c591c989edb47c8ed51aba0282 (patch)
tree4c32abe3ff1c893734549c9073392ae3ced01f93 /sound/pci/rme9652/rme9652.c
parentALSA: rme96: Support PCM sync_stop (diff)
downloadlinux-dev-39cccf4511fd00c591c989edb47c8ed51aba0282.tar.xz
linux-dev-39cccf4511fd00c591c989edb47c8ed51aba0282.zip
ALSA: rme9652: 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-34-tiwai@suse.de Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/rme9652/rme9652.c')
-rw-r--r--sound/pci/rme9652/rme9652.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/pci/rme9652/rme9652.c b/sound/pci/rme9652/rme9652.c
index ef5c2f8e17c7..6fda027d28a4 100644
--- a/sound/pci/rme9652/rme9652.c
+++ b/sound/pci/rme9652/rme9652.c
@@ -2479,6 +2479,7 @@ static int snd_rme9652_create(struct snd_card *card,
return -EBUSY;
}
rme9652->irq = pci->irq;
+ card->sync_irq = rme9652->irq;
rme9652->precise_ptr = precise_ptr;
/* Determine the h/w rev level of the card. This seems like