summaryrefslogtreecommitdiff
path: root/include/linux/patchkey.h
diff options
context:
space:
mode:
authorSreeraj S Kurup <sreekuttan2156239@gmail.com>2026-11-13 09:25:59 +0000
committerTakashi Iwai <tiwai@suse.de>2026-11-16 12:29:25 +0100
commit8794e2454799701bfe658de5bf16936275d68468 (patch)
treecb310254edf8691297cf82fa304d510ae271f609 /include/linux/patchkey.h
parentbca568589ad118a9b0bac086760baee2a41976a5 (diff)
ALSA: compress: Set metadata_set only after successful callback
Set the metadata_set flag only when the driver's set_metadata() callback completes successfully. Previously, the flag was set even when the callback returned an error. This incorrectly indicated that metadata had been applied successfully, potentially causing later operations to skip metadata setup. Update the flag only when the callback returns zero so that its state accurately reflects successful metadata submission. Fixes: 9727b490e543 ("ALSA: compress: add support for gapless playback") Signed-off-by: Sreeraj S Kurup <sreekuttan2156239@gmail.com> Link: https://patch.msgid.link/20261113092559.3283-1-sreekuttan2156239@gmail.com Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'include/linux/patchkey.h')
0 files changed, 0 insertions, 0 deletions