summaryrefslogtreecommitdiffstats
path: root/net/netrom
diff options
context:
space:
mode:
authorChancel Liu <chancel.liu@nxp.com>2024-03-05 15:56:06 +0900
committerMark Brown <broonie@kernel.org>2024-03-12 16:35:04 +0000
commit23fb6bc2696119391ec3a92ccaffe50e567c515e (patch)
tree4f872121b4a9288c361edd9038ffae1b25a506b2 /net/netrom
parent10eb0d3314c59dd0497282b33afabddf607b3050 (diff)
downloadlinux-stable-23fb6bc2696119391ec3a92ccaffe50e567c515e.tar.gz
linux-stable-23fb6bc2696119391ec3a92ccaffe50e567c515e.tar.bz2
linux-stable-23fb6bc2696119391ec3a92ccaffe50e567c515e.zip
ASoC: soc-core.c: Skip dummy codec when adding platforms
When pcm_runtime is adding platform components it will scan all registered components. In case of DPCM FE/BE some DAI links will configure dummy platform. However both dummy codec and dummy platform are using "snd-soc-dummy" as component->name. Dummy codec should be skipped when adding platforms otherwise there'll be overflow and UBSAN complains. Reported-by: Zhipeng Wang <zhipeng.wang_1@nxp.com> Signed-off-by: Chancel Liu <chancel.liu@nxp.com> Link: https://msgid.link/r/20240305065606.3778642-1-chancel.liu@nxp.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'net/netrom')
0 files changed, 0 insertions, 0 deletions