[PATCH v1 5/5] misc: apds990x: Drop IRQF_TRIGGER_LOW trigger

From: Svyatoslav Ryhel

Date: Sat Apr 18 2026 - 10:50:10 EST


Predefined IRQF_TRIGGER_LOW causes a conflict when setting triggers in the
device tree node. Remove IRQF_TRIGGER_LOW from the interrupt; it can be
specified in the device tree if needed.

Signed-off-by: Svyatoslav Ryhel <clamor95@xxxxxxxxx>
---
drivers/misc/apds990x.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/misc/apds990x.c b/drivers/misc/apds990x.c
index 557c8476ea80..51037cdc2c47 100644
--- a/drivers/misc/apds990x.c
+++ b/drivers/misc/apds990x.c
@@ -1183,8 +1183,8 @@ static int apds990x_probe(struct i2c_client *client)
}

err = devm_request_threaded_irq(dev, client->irq, NULL, apds990x_irq,
- IRQF_TRIGGER_FALLING | IRQF_TRIGGER_LOW |
- IRQF_ONESHOT, "apds990x", chip);
+ IRQF_TRIGGER_FALLING | IRQF_ONESHOT,
+ "apds990x", chip);
if (err) {
dev_err(dev, "could not get IRQ %d\n", client->irq);
goto error_pm;
--
2.51.0