* [PATCH] topology: fix element object type is switch()
@ 2015-08-04 17:06 Liam Girdwood
2015-08-05 6:09 ` Takashi Iwai
0 siblings, 1 reply; 2+ messages in thread
From: Liam Girdwood @ 2015-08-04 17:06 UTC (permalink / raw)
To: alsa-devel; +Cc: Takashi Iwai, Liam Girdwood, Mark Brown
Use the correct type for this object.
Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
---
src/topology/elem.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/topology/elem.c b/src/topology/elem.c
index 32ba2c1..d7a1fd7 100644
--- a/src/topology/elem.c
+++ b/src/topology/elem.c
@@ -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;
--
2.1.4
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] topology: fix element object type is switch()
2015-08-04 17:06 [PATCH] topology: fix element object type is switch() Liam Girdwood
@ 2015-08-05 6:09 ` Takashi Iwai
0 siblings, 0 replies; 2+ messages in thread
From: Takashi Iwai @ 2015-08-05 6:09 UTC (permalink / raw)
To: Liam Girdwood; +Cc: alsa-devel, Mark Brown
On Tue, 04 Aug 2015 19:06:55 +0200,
Liam Girdwood wrote:
>
> Use the correct type for this object.
>
> Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
Applied, thanks.
Takashi
> ---
> src/topology/elem.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/src/topology/elem.c b/src/topology/elem.c
> index 32ba2c1..d7a1fd7 100644
> --- a/src/topology/elem.c
> +++ b/src/topology/elem.c
> @@ -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;
> --
> 2.1.4
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-08-05 6:09 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-08-04 17:06 [PATCH] topology: fix element object type is switch() Liam Girdwood
2015-08-05 6:09 ` Takashi Iwai
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.