diff options
| author | Stephan Gerhold <stephan@gerhold.net> | 2021-06-14 18:31:48 +0200 |
|---|---|---|
| committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2021-07-24 15:57:43 +0100 |
| commit | 39361c997dc781dc590a8e45107b288f3e3f27d7 (patch) | |
| tree | 7d2f36ff278ae200c4f05c116d0aa29e00d92ea6 /tools/perf/scripts/python/flamegraph.py | |
| parent | b44ab6fdba6144c06ea543144b6888ac77fd2e17 (diff) | |
| download | linux-39361c997dc781dc590a8e45107b288f3e3f27d7.tar.gz linux-39361c997dc781dc590a8e45107b288f3e3f27d7.zip | |
dt-bindings: iio: accel: bma255: Fix interrupt type
Bosch accelerometers similar to BMA255 are initially configured to
emit an active-high interrupt signal. This is currently not re-configured
in the bmc150-accel driver so the interrupt should most certainly be
IRQ_TYPE_EDGE_RISING (or potentially IRQ_TYPE_LEVEL_HIGH).
(Unless there is some kind of inverter installed on the board...)
At the moment the bmc150-accel driver forcefully requests the IRQ
using IRQF_TRIGGER_RISING, which means that the IRQ type is currently
ignored in all existing device trees.
Fixes: 6259551cf19b ("iio: accel: bmc150-accel: Add DT bindings")
Cc: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Stephan Gerhold <stephan@gerhold.net>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Acked-by: Rob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/20210614163150.7774-2-stephan@gerhold.net
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions
