Commit 172d5a1
tools: tplgtool2: Fix array size calculation for enum values
Compute the max name length in terms of number of int32's and use that
set the values array size for parsing the enum controls properly.
Signed-off-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>1 parent 79a9634 commit 172d5a1
1 file changed
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
316 | 316 | | |
317 | 317 | | |
318 | 318 | | |
| 319 | + | |
319 | 320 | | |
320 | 321 | | |
321 | 322 | | |
| |||
472 | 473 | | |
473 | 474 | | |
474 | 475 | | |
475 | | - | |
| 476 | + | |
476 | 477 | | |
477 | 478 | | |
478 | 479 | | |
| |||
0 commit comments