mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-27 12:57:53 +00:00
at86rf230: use level high as fallback default
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>
This commit is contained in:
parent
ed2e627cb1
commit
9ff19e6f44
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue