diff options
author | 2017-04-05 19:05:25 +0300 | |
---|---|---|
committer | 2017-04-13 10:16:04 -0700 | |
commit | 822e423e62d0f07574e3aaaa7e2c15ffab7815cc (patch) | |
tree | 5062d135bc8009235ba3c13497018431ac22017a /tools/perf/scripts/python/export-to-postgresql.py | |
parent | platform/x86: intel_scu_ipc: Platform data is mandatory (diff) | |
download | linux-dev-822e423e62d0f07574e3aaaa7e2c15ffab7815cc.tar.xz linux-dev-822e423e62d0f07574e3aaaa7e2c15ffab7815cc.zip |
platform/x86: intel_scu_ipc: Rearrange init sequence
Device pointer is used as a flag that everything is prepared.
Nevertheless the assignment happened quite before and there is a window
when a caller can get weird results or even crashes since not all fields
are initialized yet.
Rearrange initialization sequence in ->probe() to prepare everything
before use.
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions