ALSA: hda: fix trigger_tstamp_latched
authorJaroslav Kysela <perex@perex.cz>
Wed, 2 Oct 2024 08:13:06 +0000 (10:13 +0200)
committerTakashi Iwai <tiwai@suse.de>
Wed, 2 Oct 2024 10:50:24 +0000 (12:50 +0200)
commitdf5215618fbe425875336d3a2d31bd599ae8c401
tree4f20fb2a73a5b69ad06f1fb4ca299a7dac5644ca
parentd75dba49744478c32f6ce1c16b5f391c2d5cef5f
ALSA: hda: fix trigger_tstamp_latched

When the trigger_tstamp_latched flag is set, the PCM core code assumes that
the low-level driver handles the trigger timestamping itself. Ensure that
runtime->trigger_tstamp is always updated.

Buglink: https://github.com/alsa-project/alsa-lib/issues/387
Reported-by: Zeno Endemann <zeno.endemann@mailbox.org>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
Link: https://patch.msgid.link/20241002081306.1788405-1-perex@perex.cz
Signed-off-by: Takashi Iwai <tiwai@suse.de>
include/sound/hdaudio.h
sound/hda/hdac_stream.c
sound/pci/hda/hda_controller.c