projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
48094a7
)
ALSA: wss: Support PCM sync_stop
author
Takashi Iwai
<tiwai@suse.de>
Tue, 10 Dec 2019 06:34:47 +0000
(07:34 +0100)
committer
Takashi Iwai
<tiwai@suse.de>
Wed, 11 Dec 2019 06:25:58 +0000
(07:25 +0100)
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-49-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/isa/wss/wss_lib.c
patch
|
blob
|
history
diff --git
a/sound/isa/wss/wss_lib.c
b/sound/isa/wss/wss_lib.c
index 9114e89117120b2eda596590dafd689cea0492e6..100e8b547d27bb2d26c8bdadbed2fa94e85c294d 100644
(file)
--- a/
sound/isa/wss/wss_lib.c
+++ b/
sound/isa/wss/wss_lib.c
@@
-1811,6
+1811,7
@@
int snd_wss_create(struct snd_card *card,
return -EBUSY;
}
chip->irq = irq;
+ card->sync_irq = chip->irq;
if (!(hwshare & WSS_HWSHARE_DMA1) && request_dma(dma1, "WSS - 1")) {
snd_printk(KERN_ERR "wss: can't grab DMA1 %d\n", dma1);
snd_wss_free(chip);