OSDN Git Service
(root)
/
android-x86
/
external-alsa-lib.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
80bd4ce
)
topology: Fix private data for BEs
author
Liam Girdwood
<liam.r.girdwood@linux.intel.com>
Tue, 22 Aug 2017 09:16:05 +0000
(10:16 +0100)
committer
Takashi Iwai
<tiwai@suse.de>
Tue, 22 Aug 2017 12:00:25 +0000
(14:00 +0200)
Private data was not being added to BEs. Fix this.
Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
src/topology/data.c
patch
|
blob
|
history
diff --git
a/src/topology/data.c
b/src/topology/data.c
index
5b83b9f
..
f96ff9b
100644
(file)
--- 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);