diff options
| author | Amadeusz Sławiński <amadeuszx.slawinski@linux.intel.com> | 2019-07-26 11:09:29 +0200 |
|---|---|---|
| committer | Mark Brown <broonie@kernel.org> | 2019-07-26 17:09:35 +0100 |
| commit | 096769ea95380ef3048765aef676e8947bc368d4 (patch) | |
| tree | cba6561a1779f259cd4cbdfadbae1e3dec546f3c /tools/perf/scripts/python/export-to-postgresql.py | |
| parent | c8415833ec242b9ddf73bf9e1057e12f9b0fcd16 (diff) | |
| download | linux-096769ea95380ef3048765aef676e8947bc368d4.tar.gz linux-096769ea95380ef3048765aef676e8947bc368d4.zip | |
ASoC: Intel: Skylake: Remove static table index when parsing topology
Currently when we remove and reload driver we use previous ref_count
value to start iterating over skl->modules which leads to out of table
access. To fix this just inline the function and calculate indexes
everytime we parse UUID token.
Signed-off-by: Amadeusz Sławiński <amadeuszx.slawinski@linux.intel.com>
Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Link: https://lore.kernel.org/r/20190726090929.27946-2-amadeuszx.slawinski@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions
