diff options
author | Takashi Iwai <tiwai@suse.de> | 2019-12-10 09:34:45 +0300 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2019-12-11 09:25:57 +0300 |
commit | f9236dd027b85846f2fb7f959cc4baaf165d339f (patch) | |
tree | e55eb2361c1225d78d0d5cd5f3bae75160d1ac1d /sound/isa | |
parent | 16d9fb1deef8cf0c83c86a6538f8522a89676d4c (diff) | |
download | linux-f9236dd027b85846f2fb7f959cc4baaf165d339f.tar.xz |
ALSA: sb: 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-47-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/isa')
-rw-r--r-- | sound/isa/sb/sb_common.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/isa/sb/sb_common.c b/sound/isa/sb/sb_common.c index ff031d670400..4aaf9ab82afe 100644 --- a/sound/isa/sb/sb_common.c +++ b/sound/isa/sb/sb_common.c @@ -233,6 +233,7 @@ int snd_sbdsp_create(struct snd_card *card, return -EBUSY; } chip->irq = irq; + card->sync_irq = chip->irq; if (hardware == SB_HW_ALS4000) goto __skip_allocation; |