diff options
| author | Viresh Kumar <[email protected]> | 2016-06-29 13:42:26 -0700 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2016-06-29 16:37:17 -0700 |
| commit | 957ccca08a990888e2a8f057dee646b8f37b1660 (patch) | |
| tree | e2bdd81111e008fedd259ff138b0421906c20b7e /tools/perf/scripts/python | |
| parent | 2aae92bdc25325cfd782cc76842a4302540958f2 (diff) | |
greybus: light: Initialize mutex before using it
Light protocol driver is suffering from the same issue that was fixed in
camera driver earlier (commit a7c3b0c3c8da).
Big cleanup function is used instead of fine grained control in the
error path, and in one of the cases the mutex was found uninitialized
and so the oops seen in SW-6752.
Initialize the mutex before any code can access it.
Compile tested only.
Signed-off-by: Viresh Kumar <[email protected]>
Reviewed-by: Rui Miguel Silva <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions