[PATCH 0/2] iio: light: vcnl4000: shared IRQ support
Tsz Shan Chan <[email protected]>
| Newsgroups | org.kernel.vger.linux-iio,org.kernel.vger.linux-kernel |
|---|---|
| Message-ID | <[email protected]> |
This series container two small changes for the vcnl4000 driver. Patch 1 makes the iio channel count match the channel array. Patch 2 adds support for shared interrupt lines. The driver now requests the IRQ as shared and the handler returns IRQ_NONE when the interrupt status register shows no pending interrupt, so shared IRQ work correctly. It also reads the irq parent trigger type from firmware, falling back to IRQF_TRIGGER_FALLING when one is set to keep the current behaviour. Signed-off-by: Tsz Shan Chan <[email protected]> --- Tsz Shan Chan (2): iio: light: vcnl4000: use correct channel array size iio: light: vcnl4000: add shared IRQ support drivers/iio/light/vcnl4000.c | 29 +++++++++++++++++++++-------- 1 file changed, 21 insertions(+), 8 deletions(-) --- base-commit: db2ddb87143519e20a95aa36c60b36107b736a58 change-id: 20260810-vcnl4000-02e19f70e706 Best regards, -- Tsz Shan Chan <[email protected]>