Linux IEEE 802.15.4 and 6LoWPAN development
 help / color / mirror / Atom feed
From: Alexander Aring <alex.aring@gmail.com>
To: linux-wpan@vger.kernel.org
Cc: kernel@pengutronix.de, Alexander Aring <alex.aring@gmail.com>
Subject: [PATCH bluetooth-next 3/4] at86rf230: use level high as fallback default
Date: Sat, 13 Jun 2015 22:15:53 +0200	[thread overview]
Message-ID: <1434226554-1450-3-git-send-email-alex.aring@gmail.com> (raw)
In-Reply-To: <1434226554-1450-1-git-send-email-alex.aring@gmail.com>

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>
---
 drivers/net/ieee802154/at86rf230.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/net/ieee802154/at86rf230.c b/drivers/net/ieee802154/at86rf230.c
index 1bf86d2..25e1ede 100644
--- a/drivers/net/ieee802154/at86rf230.c
+++ b/drivers/net/ieee802154/at86rf230.c
@@ -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);
-- 
2.4.1


  parent reply	other threads:[~2015-06-13 20:16 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-06-13 20:15 [PATCH bluetooth-next 1/4] mac802154: iface: fix hrtimer cancel on ifdown Alexander Aring
2015-06-13 20:15 ` [PATCH bluetooth-next 2/4] mac802154: iface: flush workqueue before stop Alexander Aring
2015-06-14 23:24   ` Marcel Holtmann
2015-06-13 20:15 ` Alexander Aring [this message]
2015-06-14 23:24   ` [PATCH bluetooth-next 3/4] at86rf230: use level high as fallback default Marcel Holtmann
2015-06-13 20:15 ` [PATCH bluetooth-next 4/4] at86rf230: add support for sleep state Alexander Aring
2015-06-14 23:24   ` Marcel Holtmann
2015-06-14 23:24 ` [PATCH bluetooth-next 1/4] mac802154: iface: fix hrtimer cancel on ifdown Marcel Holtmann
2015-06-20  5:19 ` Lennert Buytenhek
2015-06-20  9:10   ` Alexander Aring

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1434226554-1450-3-git-send-email-alex.aring@gmail.com \
    --to=alex.aring@gmail.com \
    --cc=kernel@pengutronix.de \
    --cc=linux-wpan@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox