aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/stackcollapse-report
diff options
context:
space:
mode:
authorSergiu Cuciurean <[email protected]>2020-09-16 12:23:49 +0300
committerJonathan Cameron <[email protected]>2020-09-16 18:51:40 +0100
commit2544ea7bd075948dcb0bdebfae739eb235c69728 (patch)
tree1663e5de288a9d4b0d88cb9f3350a459f9ec2bf5 /tools/perf/scripts/python/bin/stackcollapse-report
parentd3e0e14d65178d73ee0f991934c5fa89737e3922 (diff)
iio: stm32-dac: Replace indio_dev->mlock with own device lock
As part of the general cleanup of indio_dev->mlock, this change replaces it with a local lock. The lock protects against potential races when reading the CR reg and then updating, so that the state of pm_runtime is consistent between the two operations. This is part of a bigger cleanup. Link: https://lore.kernel.org/linux-iio/CA+U=Dsoo6YABe5ODLp+eFNPGFDjk5ZeQEceGkqjxXcVEhLWubw@mail.gmail.com/ Signed-off-by: Sergiu Cuciurean <[email protected]> Signed-off-by: Alexandru Ardelean <[email protected]> Reviewed-by: Fabrice Gasnier <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jonathan Cameron <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions