Skip to content
Snippets Groups Projects
Unverified Commit 85109780 authored by Tang Bin's avatar Tang Bin Committed by Mark Brown
Browse files

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: 08672782 ("ASoC: topology: Unify code for creating standalone and widget bytes control")
Fixes: 4654ca7c ("ASoC: topology: Unify code for creating standalone and widget mixer control")
Signed-off-by: default avatarTang Bin <tangbin@cmss.chinamobile.com>
Reviewed-by: default avatarAmadeusz Sławiński <amadeuszx.slawinski@linux.intel.com>
Link: https://patch.msgid.link/20240914081608.3514-1-tangbin@cmss.chinamobile.com


Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent 84e8d596
Branches
Tags
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment