diff options
author | Pierre-Louis Bossart <[email protected]> | 2022-01-26 09:17:12 +0800 |
---|---|---|
committer | Vinod Koul <[email protected]> | 2022-02-11 12:17:54 +0530 |
commit | ac3bc88cc56e2712555adc86ee5b2f3a861ffb1e (patch) | |
tree | 2907d5937bba5ae1b8d6156a4b2f5969fc6c7e18 /tools/perf/scripts/python/libxed.py | |
parent | 42aad41e969988d9058f8751f3fd952c60519308 (diff) |
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 <[email protected]>
Reviewed-by: Rander Wang <[email protected]>
Signed-off-by: Bard Liao <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Vinod Koul <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/libxed.py')
0 files changed, 0 insertions, 0 deletions