(I'm so sorry!) Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git

ASoC: sophgo: remove unneeded devm_kmemdup() for DAI driver

cv1800b_i2s_dai_template is never modified on a per-instance basis, so there is no need to duplicate it before registering the component. Pass the template directly to devm_snd_soc_register_component(), remove the now-unused local dai pointer, and drop the template's const qualifier to match the current ASoC API. Signed-off-by: bui duc phuc <phucduc.bui@gmail.com> Link: https://patch.msgid.link/20260803061605.35485-2-phucduc.bui@gmail.com Signed-off-by: Mark Brown <broonie@kernel.org>


Author bui duc phuc Committer Mark Brown Date Commit Parent 85665ff3
+3 -9
1 changed file
+3 -9
1 changed file