projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
662a744
)
ALSA: aw2: Support PCM sync_stop
author
Takashi Iwai
<tiwai@suse.de>
Tue, 10 Dec 2019 06:34:05 +0000
(07:34 +0100)
committer
Takashi Iwai
<tiwai@suse.de>
Wed, 11 Dec 2019 06:25:39 +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-7-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/aw2/aw2-alsa.c
patch
|
blob
|
history
diff --git
a/sound/pci/aw2/aw2-alsa.c
b/sound/pci/aw2/aw2-alsa.c
index 7df55797c2f69c71c14f57a6fa54097290b2b8e2..819b148573a69c41846821208fedd8e413628b6d 100644
(file)
--- a/
sound/pci/aw2/aw2-alsa.c
+++ b/
sound/pci/aw2/aw2-alsa.c
@@
-287,6
+287,7
@@
static int snd_aw2_create(struct snd_card *card,
return -EBUSY;
}
chip->irq = pci->irq;
+ card->sync_irq = chip->irq;
err = snd_device_new(card, SNDRV_DEV_LOWLEVEL, chip, &ops);
if (err < 0) {