aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/syscall-counts.py
diff options
context:
space:
mode:
authorLars-Peter Clausen <[email protected]>2020-12-18 16:45:44 +0100
committerMark Brown <[email protected]>2020-12-28 12:24:46 +0000
commite05cde84eabccc0441f837f0661cd4c6f4820513 (patch)
treeff754023c641b8c3841ba483ca5aee2be3ba4777 /tools/perf/scripts/python/syscall-counts.py
parent57fc2bbc62ef9d505e8732acbae0d6b5c59836cd (diff)
ASoC: meson: Use managed DMA buffer allocation
Using a managed buffer will pre-allocate the buffer using snd_pcm_lib_preallocate_pages() and automatically free it when the PCM is destroyed. In addition it will call snd_pcm_lib_malloc_pages() before the driver's hw_params() callback and snd_pcm_lib_free_pages() after the driver's hw_free() callback. This slightly reduces the boilerplate code of the driver. Signed-off-by: Lars-Peter Clausen <[email protected]> Reviewed-by: Jerome Brunet <[email protected]> Tested-by: Jerome Brunet <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions