Adds SOF_TKN_COMP_NO_WNAME_IN_KCONTROL_NAME token, and copies the token's tuple value to the no_wname_in_kcontrol_name flag in struct snd_soc_dapm_widget. If the tuple value for the token in the topology is true, then the widget name is not added to the mixer name. In practice "gain.2.1 Post Mixer Analog Playback Volume" becomes just "Post Mixer Analog Playback Volume".
Showing the changes to include/uapi (1 of 2 files). Show all
Unified · Split
| @@ -99,7 +99,11 @@ · 98 unmodified lines | |||
| 99 | #define SOF_TKN_COMP_OUTPUT_PIN_BINDING_WNAME 414 | 99 | #define SOF_TKN_COMP_OUTPUT_PIN_BINDING_WNAME 414 |
| 100 | #define SOF_TKN_COMP_NUM_INPUT_AUDIO_FORMATS 415 | 100 | #define SOF_TKN_COMP_NUM_INPUT_AUDIO_FORMATS 415 |
| 101 | #define SOF_TKN_COMP_NUM_OUTPUT_AUDIO_FORMATS 416 | 101 | #define SOF_TKN_COMP_NUM_OUTPUT_AUDIO_FORMATS 416 |
| 102 | 102 | /* | |
| 103 | * The token value is copied to the dapm_widget's | ||
| 104 | * no_wname_in_kcontrol_name. | ||
| 105 | */ | ||
| 106 | #define SOF_TKN_COMP_NO_WNAME_IN_KCONTROL_NAME 417 | ||
| 103 | 107 | ||
| 104 | /* SSP */ | 108 | /* SSP */ |
| 105 | #define SOF_TKN_INTEL_SSP_CLKS_CONTROL 500 | 109 | #define SOF_TKN_INTEL_SSP_CLKS_CONTROL 500 |