diff options
| author | Mark Brown <[email protected]> | 2023-08-15 19:22:25 +0100 |
|---|---|---|
| committer | Mark Brown <[email protected]> | 2023-08-15 19:22:25 +0100 |
| commit | 6e9fd076e72a6c32fe79b1dfcff074823ff1a09a (patch) | |
| tree | 5651dd9c0a25b52b655f08867606bf671b738e29 /include/uapi | |
| parent | 63e041027669473ab7474c195771bc86af9685a6 (diff) | |
| parent | 56ce7b791b787e0aee19601e422f13a18d4eafe7 (diff) | |
ASoC: SOF: topology: simplify kcontrol names with
Merge series from Pierre-Louis Bossart <[email protected]>:
The use of the widget name as a prefix for the kcontrol name is quite
useful in the case of multiple pipelines going to the same endpoint,
but it's overkill in simpler cases.
This patchset extends the existing DAPM code to drop the widget name
prefix and make the kcontrol names simpler when there's no possible
ambiguity, e.g. "gain.2.1 Main Playback Volume" becomes just "Main
Playback Volume".
Diffstat (limited to 'include/uapi')
| -rw-r--r-- | include/uapi/sound/sof/tokens.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/include/uapi/sound/sof/tokens.h b/include/uapi/sound/sof/tokens.h index e9ec7e4eb982..453cab2a1209 100644 --- a/include/uapi/sound/sof/tokens.h +++ b/include/uapi/sound/sof/tokens.h @@ -99,7 +99,11 @@ #define SOF_TKN_COMP_OUTPUT_PIN_BINDING_WNAME 414 #define SOF_TKN_COMP_NUM_INPUT_AUDIO_FORMATS 415 #define SOF_TKN_COMP_NUM_OUTPUT_AUDIO_FORMATS 416 - +/* + * The token value is copied to the dapm_widget's + * no_wname_in_kcontrol_name. + */ +#define SOF_TKN_COMP_NO_WNAME_IN_KCONTROL_NAME 417 /* SSP */ #define SOF_TKN_INTEL_SSP_CLKS_CONTROL 500 |