OSDN Git Service
(root)
/
tomoyo
/
tomoyo-test1.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c47583b
)
ALSA: ymfpci: Support PCM sync_stop
author
Takashi Iwai
<tiwai@suse.de>
Tue, 10 Dec 2019 06:34:37 +0000
(07:34 +0100)
committer
Takashi Iwai
<tiwai@suse.de>
Wed, 11 Dec 2019 06:25:54 +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-39-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/ymfpci/ymfpci_main.c
patch
|
blob
|
history
diff --git
a/sound/pci/ymfpci/ymfpci_main.c
b/sound/pci/ymfpci/ymfpci_main.c
index
6160427
..
3bc92d2
100644
(file)
--- a/
sound/pci/ymfpci/ymfpci_main.c
+++ b/
sound/pci/ymfpci/ymfpci_main.c
@@
-2371,6
+2371,7
@@
int snd_ymfpci_create(struct snd_card *card,
goto free_chip;
}
chip->irq = pci->irq;
+ card->sync_irq = chip->irq;
snd_ymfpci_aclink_reset(pci);
if (snd_ymfpci_codec_ready(chip, 0) < 0) {