diff options
author | 2023-11-20 18:47:20 +0100 | |
---|---|---|
committer | 2023-11-23 12:46:20 +0530 | |
commit | 21f4c443731fdb064c0dd31a743aafd0b075156c (patch) | |
tree | 87527795b47eb646e67edd29d33e16913de69608 /scripts/gdb/linux/tasks.py | |
parent | soundwire: qcom: move sconfig in qcom_swrm_stream_alloc_ports() out of critical section (diff) | |
download | wireguard-linux-21f4c443731fdb064c0dd31a743aafd0b075156c.tar.xz wireguard-linux-21f4c443731fdb064c0dd31a743aafd0b075156c.zip |
soundwire: stream: constify sdw_port_config when adding devices
sdw_stream_add_master() and sdw_stream_add_slave() do not modify
contents of passed sdw_port_config, so it can be made const for code
safety and as documentation of expected usage.
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Link: https://lore.kernel.org/r/20231120174720.239610-1-krzysztof.kozlowski@linaro.org
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'scripts/gdb/linux/tasks.py')
0 files changed, 0 insertions, 0 deletions