]> www.infradead.org Git - users/jedix/linux-maple.git/commit
ASoC: topology: Fix incorrect addressing assignments
authorTang Bin <tangbin@cmss.chinamobile.com>
Sat, 14 Sep 2024 08:16:08 +0000 (16:16 +0800)
committerMark Brown <broonie@kernel.org>
Thu, 19 Sep 2024 11:01:26 +0000 (13:01 +0200)
commit85109780543b5100aba1d0842b6a7c3142be74d2
treedd0f9b2c2ac979d0e07c85f0a8b6657a20836b0e
parent84e8d59651879b2ff8499bddbbc9549b7f1a646b
ASoC: topology: Fix incorrect addressing assignments

The variable 'kc' is handled in the function
soc_tplg_control_dbytes_create(), and 'kc->private_value'
is assigned to 'sbe', so In the function soc_tplg_dbytes_create(),
the right 'sbe' should be 'kc.private_value', the same logical error
in the function soc_tplg_dmixer_create(), thus fix them.

Fixes: 0867278200f7 ("ASoC: topology: Unify code for creating standalone and widget bytes control")
Fixes: 4654ca7cc8d6 ("ASoC: topology: Unify code for creating standalone and widget mixer control")
Signed-off-by: Tang Bin <tangbin@cmss.chinamobile.com>
Reviewed-by: Amadeusz Sławiński <amadeuszx.slawinski@linux.intel.com>
Link: https://patch.msgid.link/20240914081608.3514-1-tangbin@cmss.chinamobile.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/soc-topology.c