aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorPierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>2020-07-01 02:43:55 +0800
committerVinod Koul <vkoul@kernel.org>2020-07-15 10:10:05 +0530
commitb5e9e687d6226218d643f3030abb147da25a8f3a (patch)
tree35c3962974461cea3cfc04dbccd26645142b4c07 /tools/perf/scripts/python/exported-sql-viewer.py
parentsoundwire: intel: remove stream allocation/free (diff)
downloadwireguard-linux-b5e9e687d6226218d643f3030abb147da25a8f3a.tar.xz
wireguard-linux-b5e9e687d6226218d643f3030abb147da25a8f3a.zip
soundwire: cadence: allocate/free dma_data in set_sdw_stream
The current memory allocation is somewhat strange: the dma_data is allocated in set_sdw_stream, but released in the intel DAI shutdown. This no longer works with the multi-cpu implementation, since the dma_data is released in the dai shutdown which takes place before the dailink shutdown. Move to a more symmetric allocation where the dma_data is allocated with non-NULL SoundWire stream, and conversely released when a NULL stream is provided - for consistency with the stream startup and shutdown operations. Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> Signed-off-by: Bard Liao <yung-chuan.liao@linux.intel.com> Link: https://lore.kernel.org/r/20200630184356.24939-5-yung-chuan.liao@linux.intel.com Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions