diff options
| author | Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> | 2022-01-26 09:17:13 +0800 |
|---|---|---|
| committer | Vinod Koul <vkoul@kernel.org> | 2022-02-11 12:17:55 +0530 |
| commit | 5e1df5431f5b68f178c016e7015fb244e9510370 (patch) | |
| tree | 2ff515af0e499c4705ad90c625845afbe5770803 /lib/mpi/mpi-mod.c | |
| parent | ac3bc88cc56e2712555adc86ee5b2f3a861ffb1e (diff) | |
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 'lib/mpi/mpi-mod.c')
0 files changed, 0 insertions, 0 deletions
