aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorHans de Goede <[email protected]>2017-03-16 11:55:34 +0100
committerDarren Hart (VMware) <[email protected]>2017-04-13 10:12:44 -0700
commite5bf5df7858e2339d277427129139995628c49a7 (patch)
treee75d7650eca495e3c2811b1ba3f1ef06bf4fd0f2 /tools/perf/scripts/python/bin
parent1c7e28246e986a789a55f52ff681bf8d5d1dcada (diff)
platform/x86: dell-laptop: Protect kbd_state against races
The kbd led code has multiple entry points each of which modifies the kbd_state by reading it, modifying a copy, writing the copy and on error setting the modified copy writing back the original state. This is racy, so add a mutex protection the read-modify-write cycle on each of the entry points. Signed-off-by: Hans de Goede <[email protected]> Reviewed-by: Pali Rohár <[email protected]> Signed-off-by: Darren Hart (VMware) <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions