From: Liam Girdwood <liam.r.girdwood@linux.intel.com>
To: alsa-devel@alsa-project.org
Cc: Takashi Iwai <tiwai@suse.de>,
Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Subject: Re: [PATCH] alsa-lib: topology: Fix private data for BEs
Date: Tue, 12 Sep 2017 21:49:43 +0100 [thread overview]
Message-ID: <1505249383.26688.231.camel@loki> (raw)
In-Reply-To: <1505249183-14478-1-git-send-email-liam.r.girdwood@linux.intel.com>
Please ignore, wrong patch and already applied.
On Tue, 2017-09-12 at 21:46 +0100, Liam Girdwood wrote:
> Private data was not being added to BEs. Fix this.
>
> Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
> ---
> src/topology/data.c | 4 +++-
> 1 file changed, 3 insertions(+), 1 deletion(-)
>
> diff --git a/src/topology/data.c b/src/topology/data.c
> index 5b83b9f..f96ff9b 100644
> --- a/src/topology/data.c
> +++ b/src/topology/data.c
> @@ -50,7 +50,9 @@ struct snd_soc_tplg_private *get_priv_data(struct tplg_elem *elem)
> case SND_TPLG_TYPE_DAI:
> priv = &elem->dai->priv;
> break;
> -
> + case SND_TPLG_TYPE_BE:
> + priv = &elem->link->priv;
> + break;
> default:
> SNDERR("error: '%s': no support for private data for type %d\n",
> elem->id, elem->type);
next prev parent reply other threads:[~2017-09-12 20:49 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-09-12 20:46 [PATCH] alsa-lib: topology: Fix private data for BEs Liam Girdwood
2017-09-12 20:49 ` Liam Girdwood [this message]
-- strict thread matches above, loose matches on Subject: below --
2017-08-22 9:16 Liam Girdwood
2017-08-22 12:00 ` Takashi Iwai
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1505249383.26688.231.camel@loki \
--to=liam.r.girdwood@linux.intel.com \
--cc=alsa-devel@alsa-project.org \
--cc=pierre-louis.bossart@linux.intel.com \
--cc=tiwai@suse.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.