diff options
author | Guennadi Liakhovetski <[email protected]> | 2020-03-25 16:12:31 -0500 |
---|---|---|
committer | Mark Brown <[email protected]> | 2020-03-26 18:31:14 +0000 |
commit | 9ef91cad92ba75d17d5a5203230746c9d9009705 (patch) | |
tree | dcdc47d02607485c9e6853928a2786f02555ecc1 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | c688cf1d3a2cc1bca5737e7849325b3ac8e69a41 (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