summaryrefslogtreecommitdiffstats
path: root/drivers/clk
diff options
context:
space:
mode:
authorPierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>2022-01-26 09:17:00 +0800
committerVinod Koul <vkoul@kernel.org>2022-02-11 12:15:36 +0530
commit6ccf3292e4ff1d2244677239eba27532bd7b71f9 (patch)
tree1c544df6fd784b81bc53ddfd1fddd8156013672a /drivers/clk
parent5ec17b98f1d4af7035ca1824f7218a0026ebbf1b (diff)
downloadlinux-stable-6ccf3292e4ff1d2244677239eba27532bd7b71f9.tar.gz
linux-stable-6ccf3292e4ff1d2244677239eba27532bd7b71f9.tar.bz2
linux-stable-6ccf3292e4ff1d2244677239eba27532bd7b71f9.zip
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 <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-5-yung-chuan.liao@linux.intel.com Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'drivers/clk')
0 files changed, 0 insertions, 0 deletions