aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/Perf-Trace-Util/Context.c
diff options
context:
space:
mode:
authorJohn Hsu <[email protected]>2017-12-01 10:01:50 +0800
committerMark Brown <[email protected]>2017-12-04 18:14:42 +0000
commit70424d8e6e15abd32e189130be220d0063e082bc (patch)
treeaa415170b6f98fa07cac4810810c168600d27ca5 /tools/perf/scripts/python/Perf-Trace-Util/Context.c
parente3fee43a968fd39dcc56be3757fcdfe250964125 (diff)
ASoC: nau8825: improve semaphore control
After reviewing the crosstalk protection, there are two flaws at semaphore control. The first one is that the semaphore releases are not enough; and the other is that down_interruptible has an risk to make the ISR sleep. Therefore, the driver add more releases before the funcitons return. Take down_trylock to replace down_interruptible. The ISR can control the protection as well and never sleep by semaphore. Signed-off-by: John Hsu <[email protected]> Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/Context.c')
0 files changed, 0 insertions, 0 deletions