diff options
author | Pierre-Louis Bossart <[email protected]> | 2022-01-26 09:17:00 +0800 |
---|---|---|
committer | Vinod Koul <[email protected]> | 2022-02-11 12:15:36 +0530 |
commit | 6ccf3292e4ff1d2244677239eba27532bd7b71f9 (patch) | |
tree | 1c544df6fd784b81bc53ddfd1fddd8156013672a /tools/perf/scripts/python/stackcollapse.py | |
parent | 5ec17b98f1d4af7035ca1824f7218a0026ebbf1b (diff) |
soundwire: stream: add alloc/config/free helpers for ports
The existing code only has a config helper that allocates memory,
start adding alloc/config/free for ports, as a first step in the
simplification of the stream API.
This change removes a kfree() on a configuration error, this should
have not impact on existing platforms and error handling will be
revisited in follow-up patches to make sure invalid configurations
have not impact on memory allocation.
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/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions