History

ASoC: SOF: topology: Add a token for dropping widget name in kcontrol name

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".

Jyri Sarha committed 3 years ago

Commit 56ce7b71 parent f7f4a5a2 files · +27 −1Browse files

Showing the changes to include/uapi (1 of 2 files). Show all

Unified · Split

include/uapi/sound/sof/tokens.h+5−1
@@ -99,7 +99,11 @@ · 98 unmodified lines
9999 #define SOF_TKN_COMP_OUTPUT_PIN_BINDING_WNAME 414
100100 #define SOF_TKN_COMP_NUM_INPUT_AUDIO_FORMATS 415
101101 #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
103107
104108 /* SSP */
105109 #define SOF_TKN_INTEL_SSP_CLKS_CONTROL 500

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t