aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorAlexander Shishkin <[email protected]>2016-03-04 16:48:14 +0200
committerAlexander Shishkin <[email protected]>2016-04-08 16:11:53 +0300
commit389b6699a2aa0b457aa69986e9ddf39f3b4030fd (patch)
tree51dfe4d9f5d035387c092e70d0fab54ea82d0432 /tools/perf/scripts/python/bin
parentcbe4a61d1ddc4790d950ca8c33ef79ee68ef5e2b (diff)
stm class: Fix stm device initialization order
Currently, stm_register_device() makes the device visible and then proceeds to initializing spinlocks and other properties, which leaves a window when the device can already be opened but is not yet fully operational. Fix this by reversing the initialization order. Reported-by: Alan Cox <[email protected]> Signed-off-by: Alexander Shishkin <[email protected]> Reviewed-by: Laurent Fert <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions