aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorPierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>2022-01-26 09:17:12 +0800
committerVinod Koul <vkoul@kernel.org>2022-02-11 12:17:54 +0530
commitac3bc88cc56e2712555adc86ee5b2f3a861ffb1e (patch)
tree2907d5937bba5ae1b8d6156a4b2f5969fc6c7e18 /tools/perf/scripts/python
parentsoundwire: stream: move list addition to sdw_slave_alloc_rt() (diff)
downloadlinux-ac3bc88cc56e2712555adc86ee5b2f3a861ffb1e.tar.gz
linux-ac3bc88cc56e2712555adc86ee5b2f3a861ffb1e.zip
soundwire: stream: separate alloc and config within sdw_stream_add_xxx()
Separate alloc and config parts so that follow-up patches can allow for multiple calls to sdw_stream_add_slave/master. This is a feature from the ALSA/ASoC frameworks which is not supported today. This is an invasive patch which modifies the error handling flow, with cleanups only done when an allocation fails. Configuration failures only return an error code. Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> Reviewed-by: Rander Wang <rander.wang@intel.com> Signed-off-by: Bard Liao <yung-chuan.liao@linux.intel.com> Link: https://lore.kernel.org/r/20220126011715.28204-17-yung-chuan.liao@linux.intel.com Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions