]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: echoaudio: Support PCM sync_stop
authorTakashi Iwai <tiwai@suse.de>
Tue, 10 Dec 2019 06:34:14 +0000 (07:34 +0100)
committerTakashi Iwai <tiwai@suse.de>
Wed, 11 Dec 2019 06:25:44 +0000 (07:25 +0100)
commit4f255b99e9d6b77445be93808f9f6513190e8ca4
tree6d2dffdb71351050b9422bb98328ba4f20d07c2e
parent8cfb27dc6db095f3e4bd76e66999a96a64a5d884
ALSA: echoaudio: 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-16-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/echoaudio/echoaudio.c