aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/export-to-postgresql-report
diff options
context:
space:
mode:
author[email protected] <[email protected]>2020-10-06 14:55:09 -0700
committerJonathan Cameron <[email protected]>2020-10-10 17:49:52 +0100
commitc5bf4d645f2d5c4c216dd690c5237d778102c848 (patch)
tree8395b3ca95fa6c6f04924d9f8e59206030bfd256 /tools/perf/scripts/python/bin/export-to-postgresql-report
parent5b19ca2c78a0838976064c0347e46a2c859b541d (diff)
iio: adc: exynos: do not rely on 'users' counter in ISR
The order in which 'users' counter is decremented vs calling drivers' close() method is implementation specific, and we should not rely on it. Let's introduce driver private flag and use it to signal ISR to exit when device is being closed. This has a side-effect of fixing issue of accessing inut->users outside of input->mutex protection. Reported-by: Andrzej Pietrasiewicz <[email protected]> Signed-off-by: Dmitry Torokhov <[email protected]> Reviewed-by: Michał Mirosław <[email protected]> Acked-by: Krzysztof Kozlowski <[email protected]> Link: https://lore.kernel.org/r/20201006215509.GA2556081@dtor-ws Signed-off-by: Jonathan Cameron <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/export-to-postgresql-report')
0 files changed, 0 insertions, 0 deletions