aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorGuennadi Liakhovetski <[email protected]>2020-03-25 16:12:31 -0500
committerMark Brown <[email protected]>2020-03-26 18:31:14 +0000
commit9ef91cad92ba75d17d5a5203230746c9d9009705 (patch)
treedcdc47d02607485c9e6853928a2786f02555ecc1 /tools/perf/util/scripting-engines/trace-event-python.c
parentc688cf1d3a2cc1bca5737e7849325b3ac8e69a41 (diff)
ASoC: SOF: fix uninitialised "work" with VirtIO
In the VirtIO case the sof_pcm_open() function isn't called on the host during guest streaming, which then leaves "work" structures uninitialised. However it is then used to handle position update messages from the DSP. Move their initialisation to immediately after allocation of the containing structure. Signed-off-by: Guennadi Liakhovetski <[email protected]> Signed-off-by: Pierre-Louis Bossart <[email protected]> Reviewed-by: Kai Vehmanen <[email protected]> Reviewed-by: Ranjani Sridharan <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions