]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: intel8x0: Support PCM sync_stop
authorTakashi Iwai <tiwai@suse.de>
Tue, 10 Dec 2019 06:34:23 +0000 (07:34 +0100)
committerTakashi Iwai <tiwai@suse.de>
Wed, 11 Dec 2019 06:25:48 +0000 (07:25 +0100)
commit070d6d104cc3e760179f61830bb6174d26d64ce7
tree430d29b65959a121b7d1196bb7f3a39639f50a7a
parent959fee5d34e45ef3e0f8aff1c14160511d85a76b
ALSA: intel8x0: 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.  It's cleared and reset dynamically at IRQ re-acquiring for
the PM resume, too.

Link: https://lore.kernel.org/r/20191210063454.31603-25-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/intel8x0.c
sound/pci/intel8x0m.c