diff options
| author | 2022-01-26 09:17:13 +0800 | |
|---|---|---|
| committer | 2022-02-11 12:17:55 +0530 | |
| commit | 5e1df5431f5b68f178c016e7015fb244e9510370 (patch) | |
| tree | 2ff515af0e499c4705ad90c625845afbe5770803 /include/linux/mfd/git:/ssh:/git@git.zx2c4.com | |
| parent | soundwire: stream: separate alloc and config within sdw_stream_add_xxx() (diff) | |
| download | linux-dev-5e1df5431f5b68f178c016e7015fb244e9510370.tar.xz linux-dev-5e1df5431f5b68f178c016e7015fb244e9510370.zip | |
soundwire: stream: introduce sdw_slave_rt_find() helper
Before we split the alloc and config steps, we need a helper to find
the Slave runtime for a stream. The helper is based on the search loop
in sdw_slave_rt_free(), which can now be simplified.
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-18-yung-chuan.liao@linux.intel.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'include/linux/mfd/git:/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
