summaryrefslogtreecommitdiff
path: root/tools/lib/python/kdoc/python_version.py
diff options
context:
space:
mode:
authorJiangshan Yi <yijiangshan@kylinos.cn>2026-09-14 18:45:51 +0800
committerMark Brown <broonie@kernel.org>2026-09-18 20:05:06 +0200
commit174d160884199cad97413f33fe1b56027dc0d3e1 (patch)
tree26d0dcf870c125c1a13d027b0431925ca75cd5fe /tools/lib/python/kdoc/python_version.py
parentbcd61aa247c28b721ac21dda6e4135f75a2de29f (diff)
downloadlinux-next-174d160884199cad97413f33fe1b56027dc0d3e1.tar.gz
linux-next-174d160884199cad97413f33fe1b56027dc0d3e1.zip
ASoC: codecs: rt1017-sdca-sdw: fix uninitialized stream_config->type
stream_config is not initialized before being passed to sdw_stream_add_slave(). The type field may contain garbage and is later copied to stream->type by sdw_config_stream(). Zero-initialize stream_config so type defaults to SDW_STREAM_PCM. While at it, use snd_sdw_params_to_config() helper instead of open-coding the same logic. Fixes: 2b7aecd58528 ("ASoC: rt1017: Add RT1017 SDCA amplifier driver") Cc: stable@vger.kernel.org Signed-off-by: Jiangshan Yi <yijiangshan@kylinos.cn> Link: https://patch.msgid.link/20260914104551.377880-1-yijiangshan@kylinos.cn Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/lib/python/kdoc/python_version.py')
0 files changed, 0 insertions, 0 deletions