diff options
| author | Rohit Kumar <rohitkr@codeaurora.org> | 2017-03-09 12:16:42 +0530 |
|---|---|---|
| committer | Gerrit - the friendly Code Review server <code-review@localhost> | 2017-03-22 00:25:59 -0700 |
| commit | 59212de85bce39f148c8d8189d86929091bc9afc (patch) | |
| tree | 673346393ab5263e6db6caff61a573b9e79abdae /tools/perf/scripts/python | |
| parent | c1ef16be6d3c5606edb7a23398611d010b405aa8 (diff) | |
drivers: soc: Add mutex lock in audio_notifier_late_init
Audio_notifier_late_init registers clients dependent on PDR to
correct service if registration to PDR on init fails.
There is a possible race condition when audio_notifier_late_init
and audio_notifier_register is called at same time. This may
cause manipulation of the same lists and critical data at the
same time. Add mutex lock to protect critical data.
CRs-Fixed: 2016927
Change-Id: Iec5190a93b390d46f47fd67fd79b1b83d7fe4b29
Signed-off-by: Rohit Kumar <rohitkr@codeaurora.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
