diff options
| author | Jérôme Pouiller <jerome.pouiller@silabs.com> | 2022-02-25 12:24:05 +0100 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2022-02-25 14:00:29 +0100 |
| commit | fe5c03d478d43e89914797016c62dfb701a0c565 (patch) | |
| tree | f8bc4dbab3600a97a1da316009050759e3f7395b | |
| parent | c86176d51340d5ee29afffce63d79c4ece5d96bb (diff) | |
| download | linux-fe5c03d478d43e89914797016c62dfb701a0c565.tar.bz2 | |
staging: wfx: flags for SPI IRQ were ignored
The flags declared in the DT were not forwarded to request_irq().
Fixes: a7efb62509d8 ("staging: wfx: use threaded IRQ with SPI")
Signed-off-by: Jérôme Pouiller <jerome.pouiller@silabs.com>
Link: https://lore.kernel.org/r/20220225112405.355599-11-Jerome.Pouiller@silabs.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
| -rw-r--r-- | drivers/staging/wfx/bus_spi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/wfx/bus_spi.c b/drivers/staging/wfx/bus_spi.c index a0a98c074cb5..bb31f8a005bf 100644 --- a/drivers/staging/wfx/bus_spi.c +++ b/drivers/staging/wfx/bus_spi.c @@ -162,7 +162,7 @@ static int wfx_spi_irq_subscribe(void *priv) flags = IRQF_TRIGGER_HIGH; flags |= IRQF_ONESHOT; return devm_request_threaded_irq(&bus->func->dev, bus->func->irq, NULL, - wfx_spi_irq_handler, IRQF_ONESHOT, "wfx", bus); + wfx_spi_irq_handler, flags, "wfx", bus); } static int wfx_spi_irq_unsubscribe(void *priv) |