diff options
author | Takashi Iwai <tiwai@suse.de> | 2019-12-10 07:34:24 +0100 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2019-12-11 07:25:48 +0100 |
commit | 67ceac17e87780d7879fecd4dc0ac52bf99b164a (patch) | |
tree | 82bcd2f649c72bc9eeec1b43737f47adf0f9eff2 /sound/pci/korg1212 | |
parent | be1391c7858ffd7c5c1b4f004431cfbffb3e923c (diff) | |
download | linux-67ceac17e87780d7879fecd4dc0ac52bf99b164a.tar.gz linux-67ceac17e87780d7879fecd4dc0ac52bf99b164a.tar.bz2 linux-67ceac17e87780d7879fecd4dc0ac52bf99b164a.zip |
ALSA: korg1212: 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-26-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/korg1212')
-rw-r--r-- | sound/pci/korg1212/korg1212.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/pci/korg1212/korg1212.c b/sound/pci/korg1212/korg1212.c index 2b8204a13c69..5d48ff0b32a7 100644 --- a/sound/pci/korg1212/korg1212.c +++ b/sound/pci/korg1212/korg1212.c @@ -2237,6 +2237,7 @@ static int snd_korg1212_create(struct snd_card *card, struct pci_dev *pci, } korg1212->irq = pci->irq; + card->sync_irq = korg1212->irq; pci_set_master(korg1212->pci); |