Skip to content

Commit 58465b8

Browse files
ranj063kv2019i
authored andcommitted
tools: plugin: tplg: Pass comp_info when creating controls for pga
This will be used to store the module id and instance ID when creating the volume controls. Signed-off-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
1 parent 4c3c1ed commit 58465b8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tools/plugin/alsaplug/tplg.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -270,7 +270,7 @@ static int plug_new_pga(snd_sof_plug_t *plug)
270270

271271
/* skip kcontrols for now */
272272
if (tplg_create_controls(ctx, ctx->widget->num_kcontrols,
273-
tplg_ctl, ctx->hdr->payload_size, &volume) < 0) {
273+
tplg_ctl, ctx->hdr->payload_size, comp_info) < 0) {
274274
SNDERR("error: loading controls\n");
275275
goto out;
276276
}

0 commit comments

Comments
 (0)