diff options
author | Pierre-Louis Bossart | 2022-01-26 09:17:11 +0800 |
---|---|---|
committer | Vinod Koul | 2022-02-11 12:17:54 +0530 |
commit | 42aad41e969988d9058f8751f3fd952c60519308 (patch) | |
tree | 3173f4ef35098e0d70a1064b74f0f512d43230c9 /scripts/nsdeps | |
parent | 00ce0d2afe5a8a1a7553bfcfe0e005e54f4d2003 (diff) |
soundwire: stream: move list addition to sdw_slave_alloc_rt()
Simplify sdw_stream_add_slave() by moving the linked list management
inside of the sdw_slave_alloc_rt_free() helper, this also makes the
alloc/free helpers more symmetrical.
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-16-yung-chuan.liao@linux.intel.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'scripts/nsdeps')
0 files changed, 0 insertions, 0 deletions