]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: hda: Support PCM sync_stop
authorTakashi Iwai <tiwai@suse.de>
Tue, 10 Dec 2019 06:34:20 +0000 (07:34 +0100)
committerTakashi Iwai <tiwai@suse.de>
Wed, 11 Dec 2019 06:25:47 +0000 (07:25 +0100)
commit967ea89179106f05c5abcf98eea718e3c420d876
tree5ed408dd4ecf7bbbabd5dd61b5b50b89014eb4d7
parent9ab1321e77141f85ee0381c59d3bff90b4b747fe
ALSA: hda: 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-22-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/hda_intel.c
sound/pci/hda/hda_tegra.c