diff options
author | Takashi Iwai <tiwai@suse.de> | 2019-12-10 07:34:26 +0100 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2019-12-11 07:25:49 +0100 |
commit | a20b8bfe557c794ae3a35c1ca9cb25d3abaf7784 (patch) | |
tree | e2da75f77e7010e2887ed04866eb7434e487659d | |
parent | aec9f0cc057ece110be244fc5d2f10ba3176a8db (diff) |
ALSA: maestro3: 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-28-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
-rw-r--r-- | sound/pci/maestro3.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/pci/maestro3.c b/sound/pci/maestro3.c index 501f1871f776..9f75cc0c01dd 100644 --- a/sound/pci/maestro3.c +++ b/sound/pci/maestro3.c @@ -2633,6 +2633,7 @@ snd_m3_create(struct snd_card *card, struct pci_dev *pci, goto free_chip; } chip->irq = pci->irq; + card->sync_irq = chip->irq; #ifdef CONFIG_PM_SLEEP chip->suspend_mem = |