]> git.karo-electronics.de Git - linux-beck.git/commitdiff
at86rf230: use level high as fallback default
authorAlexander Aring <alex.aring@gmail.com>
Sat, 13 Jun 2015 20:15:53 +0000 (22:15 +0200)
committerMarcel Holtmann <marcel@holtmann.org>
Sun, 14 Jun 2015 23:22:19 +0000 (01:22 +0200)
This patch use high level interrupt type as fallback handling when no
irq type is given.

Signed-off-by: Alexander Aring <alex.aring@gmail.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
drivers/net/ieee802154/at86rf230.c

index 1bf86d2df23fd9b84219a46cb9395b30a78c2a5a..25e1edecc24b9e5084139d2548da2106ed060906 100644 (file)
@@ -1633,7 +1633,7 @@ static int at86rf230_probe(struct spi_device *spi)
 
        irq_type = irq_get_trigger_type(spi->irq);
        if (!irq_type)
-               irq_type = IRQF_TRIGGER_RISING;
+               irq_type = IRQF_TRIGGER_HIGH;
 
        rc = devm_request_irq(&spi->dev, spi->irq, at86rf230_isr,
                              IRQF_SHARED | irq_type, dev_name(&spi->dev), lp);