topology: fix element object type is switch()
PATCH 1/1 topology: fix element object type is switch()
Use the correct type for this object.
Signed-off-by Liam Girdwood <[email protected]>
--- src/topology/elem.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
src/topology/elem.c +1 -1
@@ -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 ;
Signature · 1 line
2.1.4
Takashi Iwai
AppliedQuoted 4 lines · Liam Girdwood
Use the correct type for this object.
Signed-off-by Liam Girdwood <[email protected]>
Applied, thanks.
Takashi
Quoted 20 lines
--- src/topology/elem.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)src/topology/elem.c +1
-1@@ -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 ;Signature · 1 line
2.1.4