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/adc/ti-ads7950.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/kernel/drivers/iio/adc/ti-ads7950.c b/kernel/drivers/iio/adc/ti-ads7950.c
index a2b83f0..d4583b7 100644
--- a/kernel/drivers/iio/adc/ti-ads7950.c
+++ b/kernel/drivers/iio/adc/ti-ads7950.c
@@ -634,6 +634,7 @@
 	st->chip.label = dev_name(&st->spi->dev);
 	st->chip.parent = &st->spi->dev;
 	st->chip.owner = THIS_MODULE;
+	st->chip.can_sleep = true;
 	st->chip.base = -1;
 	st->chip.ngpio = TI_ADS7950_NUM_GPIOS;
 	st->chip.get_direction = ti_ads7950_get_direction;

--
Gitblit v1.6.2