diff options
author | Takashi Iwai <tiwai@suse.de> | 2019-12-10 07:34:15 +0100 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2019-12-11 07:25:45 +0100 |
commit | 66471aa715f0d4207c61e27e6333d6f453df554b (patch) | |
tree | a56c009e54f68607179fc985483442e298720f3d /sound/pci/emu10k1/emu10k1_main.c | |
parent | d4cad99fda9bc5ba6de3a56aedb572a008d1856a (diff) | |
download | linux-stable-66471aa715f0d4207c61e27e6333d6f453df554b.tar.gz |
ALSA: emu10k1: 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-17-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/emu10k1/emu10k1_main.c')
-rw-r--r-- | sound/pci/emu10k1/emu10k1_main.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/pci/emu10k1/emu10k1_main.c b/sound/pci/emu10k1/emu10k1_main.c index 8c1e968b9c96..65e9ec94b807 100644 --- a/sound/pci/emu10k1/emu10k1_main.c +++ b/sound/pci/emu10k1/emu10k1_main.c @@ -1984,6 +1984,7 @@ int snd_emu10k1_create(struct snd_card *card, goto error; } emu->irq = pci->irq; + card->sync_irq = emu->irq; /* * Init to 0x02109204 : |