]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: es1938: Support PCM sync_stop
authorTakashi Iwai <tiwai@suse.de>
Tue, 10 Dec 2019 06:34:17 +0000 (07:34 +0100)
committerTakashi Iwai <tiwai@suse.de>
Wed, 11 Dec 2019 06:25:45 +0000 (07:25 +0100)
commitd27eced1f794d56c9085e34fae551c6422770872
tree212c20a9b0d9c0cbd60a0882b272e5bf77fa44fc
parentd206149e7f53c8092807b259ad88e008bf321d2e
ALSA: es1938: 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-19-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/es1938.c