aboutsummaryrefslogtreecommitdiff
path: root/mm/truncate.c
diff options
context:
space:
mode:
authorPierre-Louis Bossart2022-01-26 09:17:12 +0800
committerVinod Koul2022-02-11 12:17:54 +0530
commitac3bc88cc56e2712555adc86ee5b2f3a861ffb1e (patch)
tree2907d5937bba5ae1b8d6156a4b2f5969fc6c7e18 /mm/truncate.c
parent42aad41e969988d9058f8751f3fd952c60519308 (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 <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-17-yung-chuan.liao@linux.intel.com Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'mm/truncate.c')
0 files changed, 0 insertions, 0 deletions