Skip to content

Commit 7164b90

Browse files
Jaska UimonenJaska Uimonen
authored andcommitted
ASoC: SOF: topology: change parsing functions to handle multiple items
Currently topology parsing functions run through the whole data area searching for correct tuples array combination. If you happen to have multiple similar combinations the last one is always copied on top of the previous. If we want to parse several combinations of the same type we need to now the amount of combination items and the size of the destination struct i.e. the offset for the consecutive destination items. So add to the parsing function's arguments the number of combination items and size of the destination. Modify the dmic dai link loading to show how to generalize the multiple item loading with new parsing functions. Signed-off-by: Jaska Uimonen <jaska.uimonen@linux.intel.com>
1 parent e107228 commit 7164b90

File tree

1 file changed

+81
-100
lines changed

1 file changed

+81
-100
lines changed

0 commit comments

Comments
 (0)