mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-11-03 09:01:52 -05:00
topology: fix element object type is switch()
Use the correct type for this object. Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
This commit is contained in:
parent
66ce9f9a11
commit
1bb4c2fc30
1 changed files with 1 additions and 1 deletions
|
|
@ -137,7 +137,7 @@ struct tplg_elem* tplg_elem_new_common(snd_tplg_t *tplg,
|
|||
list_add_tail(&elem->list, &tplg->enum_list);
|
||||
obj_size = sizeof(struct snd_soc_tplg_enum_control);
|
||||
break;
|
||||
case SND_SOC_TPLG_TYPE_MIXER:
|
||||
case OBJECT_TYPE_MIXER:
|
||||
list_add_tail(&elem->list, &tplg->mixer_list);
|
||||
obj_size = sizeof(struct snd_soc_tplg_mixer_control);
|
||||
break;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue