ALSA: ctxfi: Support PCM sync_stop
authorTakashi Iwai <tiwai@suse.de>
Tue, 10 Dec 2019 06:34:13 +0000 (07:34 +0100)
committerTakashi Iwai <tiwai@suse.de>
Wed, 11 Dec 2019 06:25:42 +0000 (07:25 +0100)
commit5e0890c1cb7dbcb9779fb664e8f3c579911c9283
treec5c01d8f323d1e1ac90823d147eecce875f49f87
parent25ec679b90782aed4894a1c3cc36c0a4ed350a20
ALSA: ctxfi: 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, as well as removing the superfluous synchronize_irq()
call.

Link: https://lore.kernel.org/r/20191210063454.31603-15-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/ctxfi/cthw20k1.c
sound/pci/ctxfi/cthw20k2.c