mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-10-29 05:40:25 -04:00
topology: Fix private data for BEs
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>
This commit is contained in:
parent
80bd4ce147
commit
52826d4655
1 changed files with 3 additions and 1 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue