summaryrefslogtreecommitdiffstats
path: root/drivers/iio/light/rpr0521.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/iio/light/rpr0521.c')
-rw-r--r--drivers/iio/light/rpr0521.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/iio/light/rpr0521.c b/drivers/iio/light/rpr0521.c
index 668e444f6049..9d0218b7426e 100644
--- a/drivers/iio/light/rpr0521.c
+++ b/drivers/iio/light/rpr0521.c
@@ -431,7 +431,7 @@ static irqreturn_t rpr0521_drdy_irq_thread(int irq, void *private)
struct rpr0521_data *data = iio_priv(indio_dev);
if (rpr0521_is_triggered(data)) {
- iio_trigger_poll_chained(data->drdy_trigger0);
+ iio_trigger_poll_nested(data->drdy_trigger0);
return IRQ_HANDLED;
}