diff options
author | Ferry Toth <[email protected]> | 2022-12-07 21:03:38 +0200 |
---|---|---|
committer | Jonathan Cameron <[email protected]> | 2022-12-28 17:19:45 +0000 |
commit | 027641b52fe37b64af61025298ce160c8b9b7a73 (patch) | |
tree | 0e5651c6909f612eaa0bbb3b9140906ddc2fe97b /tools/perf/scripts/python/event_analyzing_sample.py | |
parent | 22cd9320b11a2eb05e5d490863a4219ca32e8ec9 (diff) |
iio: light: tsl2563: Do not hardcode interrupt trigger type
Instead of hardcoding IRQ trigger type to IRQF_TRIGGER_RAISING,
let's respect the settings specified in the firmware description.
To be compatible with the older firmware descriptions, if trigger
type is not set up there, we'll set it to default (raising edge).
Fixes: 388be4883952 ("staging:iio: tsl2563 abi fixes and interrupt handling")
Fixes: bdab1001738f ("staging:iio:light:tsl2563 remove old style event registration.")
Signed-off-by: Ferry Toth <[email protected]>
Signed-off-by: Andy Shevchenko <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jonathan Cameron <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions