ASoC: Intel: avs: Gather remaining logs on strace_release()
authorCezary Rojewski <cezary.rojewski@intel.com>
Fri, 2 Dec 2022 15:28:39 +0000 (16:28 +0100)
committerMark Brown <broonie@kernel.org>
Mon, 5 Dec 2022 14:05:31 +0000 (14:05 +0000)
commit34d27c71707c4ed615105376e0f3907d99b1b271
treef5520ed8e6953a63fed7a5ca6a98d23910faa16a
parent5a565ba23abe478f3d4c3b0c8798bcb5215b82f5
ASoC: Intel: avs: Gather remaining logs on strace_release()

When user closes the tracer, some logs may still remain in the tail of
the buffer as firmware sends LOG_BUFFER_STATUS notification only when
certain threshold of data is reached. Add whatever is left to already
gathered logs so no information is lost.

Signed-off-by: Cezary Rojewski <cezary.rojewski@intel.com>
Link: https://lore.kernel.org/r/20221202152841.672536-15-cezary.rojewski@intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/intel/avs/debugfs.c