From 1543e317f1da31b75942316931e8f491a8920811 Mon Sep 17 00:00:00 2001
From: hc <hc@nodka.com>
Date: Thu, 04 Jan 2024 10:08:02 +0000
Subject: [PATCH] disable FB
---
kernel/drivers/iio/imu/adis16460.c | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/kernel/drivers/iio/imu/adis16460.c b/kernel/drivers/iio/imu/adis16460.c
index 74a161e..a28143a 100644
--- a/kernel/drivers/iio/imu/adis16460.c
+++ b/kernel/drivers/iio/imu/adis16460.c
@@ -403,11 +403,11 @@
if (ret)
return ret;
+ /* We cannot mask the interrupt, so ensure it isn't auto enabled */
+ st->adis.irq_flag |= IRQF_NO_AUTOEN;
ret = devm_adis_setup_buffer_and_trigger(&st->adis, indio_dev, NULL);
if (ret)
return ret;
-
- adis16460_enable_irq(&st->adis, 0);
ret = __adis_initial_startup(&st->adis);
if (ret)
@@ -447,3 +447,4 @@
MODULE_AUTHOR("Dragos Bogdan <dragos.bogdan@analog.com>");
MODULE_DESCRIPTION("Analog Devices ADIS16460 IMU driver");
MODULE_LICENSE("GPL");
+MODULE_IMPORT_NS(IIO_ADISLIB);
--
Gitblit v1.6.2