History

ASoC: Intel: avs: Parse control tuples

Add callback to handle loading of kcontrol and linking it to active widget. In order to link kcontrol to specific modules add additional field to module data, as well as specify control id in kcontrol data.

Amadeusz Sławiński committed 3 years ago

Commit be2b81b1 parent 585b9424 files · +93 −0Browse files

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

Unified · Split

include/uapi/sound/intel/avs/tokens.h+4−0
@@ -108,6 +108,7 @@ enum avs_tplg_token { · 107 unmodified lines
108108 AVS_TKN_MOD_CORE_ID_U8 = 1704,
109109 AVS_TKN_MOD_PROC_DOMAIN_U8 = 1705,
110110 AVS_TKN_MOD_MODCFG_EXT_ID_U32 = 1706,
111+ AVS_TKN_MOD_KCONTROL_ID_U32 = 1707,
111112
112113 /* struct avs_tplg_path_template */
113114 AVS_TKN_PATH_TMPL_ID_U32 = 1801,
@@ -121,6 +122,9 @@ enum avs_tplg_token { · 7 unmodified lines
121122 AVS_TKN_PIN_FMT_INDEX_U32 = 2201,
122123 AVS_TKN_PIN_FMT_IOBS_U32 = 2202,
123124 AVS_TKN_PIN_FMT_AFMT_ID_U32 = 2203,
125+
126+ /* struct avs_tplg_kcontrol */
127+ AVS_TKN_KCONTROL_ID_U32 = 2301,
124128 };
125129
126130 #endif

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