]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: nm256: Support PCM sync_stop
authorTakashi Iwai <tiwai@suse.de>
Tue, 10 Dec 2019 06:34:27 +0000 (07:34 +0100)
committerTakashi Iwai <tiwai@suse.de>
Wed, 11 Dec 2019 06:25:50 +0000 (07:25 +0100)
commit5e8050ebe59363fb976b9cf3806d551b9d6fd426
tree733798eacb4950a9d6090b75a86a3552e4727865
parenta24351cbf6405f0aa126c2985ddd529c1c9843fd
ALSA: nm256: 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-29-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/nm256/nm256.c