summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorJonathan Cameron <Jonathan.Cameron@huawei.com>2021-04-02 19:45:38 +0100
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2021-04-07 08:36:39 +0100
commit0be49bdedcfd1e6afd838a4f34cc310b8bbb0c9a (patch)
treeeb395cd74b0d9fda31b18253f55a71ebc0b0dac4 /tools/perf/scripts/python
parentaefaee4ec899b6d562a50972ce3c0dd0b38d7d98 (diff)
downloadlinux-0be49bdedcfd1e6afd838a4f34cc310b8bbb0c9a.tar.gz
linux-0be49bdedcfd1e6afd838a4f34cc310b8bbb0c9a.zip
iio:adc:ad7766: Use new IRQF_NO_AUTOEN to reduce boilerplate
As iio_poll_trigger() is safe against spurious interrupts when the trigger is not enabled, this is not a fix despite looking like a race. It is nice to simplify the code however so the interrupt is never enabled in the first place. Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com> Cc: Lars-Peter Clausen <lars@metafoo.de> Reviewed-by: Barry Song <song.bao.hua@hisilicon.com> Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com> Reviewed-by: Lars-Peter Clausen <lars@metafoo.de> Link: https://lore.kernel.org/r/20210402184544.488862-2-jic23@kernel.org
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions