summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorMark Brown <broonie@kernel.org>2026-04-01 17:57:34 +0100
committerTakashi Iwai <tiwai@suse.de>2026-04-02 11:10:28 +0200
commitcf6c18cf83e48986ac40a053d09d3c33624135f6 (patch)
tree6ebe70c38d3d282bba0ec5525f79411e8835f5b6 /tools/perf/scripts/python/exported-sql-viewer.py
parent872c7433582a3570dd0c827967ba291450096bf0 (diff)
ALSA: compress: Refuse to update timestamps for unconfigured streams
There are a number of mechanisms, including the userspace accessible timestamp and buffer availability ioctl()s, which allow us to trigger a timestamp update on a stream before it has been configured. Since drivers might rely on stream configuration for reporting of pcm_io_frames, including potentially doing a division by the number of channels, and these operations are not meaningful for an unconfigured stream reject attempts to read timestamps before any configuration is done. Signed-off-by: Mark Brown <broonie@kernel.org> Acked-by: Vinod Koul <vkoul@kernel.org> Signed-off-by: Takashi Iwai <tiwai@suse.de> Link: https://patch.msgid.link/20260401-alsa-unconfigured-tstamp-v1-1-694c2cb5f71d@kernel.org
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions