All of lore.kernel.org
 help / color / mirror / Atom feed
From: Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>
To: Terry Fryar <terry.fryar@domain.hid>
Cc: xenomai@xenomai.org
Subject: Re: [Xenomai-help] rtdm difficulties
Date: Fri, 20 Jan 2012 19:32:04 +0100	[thread overview]
Message-ID: <4F19B324.8080001@domain.hid> (raw)
In-Reply-To: <D2F2766145E048789E0063D6F386E760@domain.hid>

On 01/20/2012 07:24 PM, Terry Fryar wrote:
> Yeh, omap and gpio.....edge irq from a square wave pulse.... 

Try this patch:

diff --git a/arch/arm/plat-omap/gpio.c b/arch/arm/plat-omap/gpio.c
index 30cb7d4..114ccf0 100644
--- a/arch/arm/plat-omap/gpio.c
+++ b/arch/arm/plat-omap/gpio.c
@@ -1272,7 +1272,7 @@ static void gpio_irq_handler(unsigned int irq,
struct irq_desc *desc)
 	u32 retrigger = 0;
 	int unmasked = 0;

-	desc->irq_data.chip->irq_ack(&desc->irq_data);
+	desc->irq_data.chip->irq_mask_ack(&desc->irq_data);

 	bank = get_irq_data(irq);
 #ifdef CONFIG_ARCH_OMAP1

-- 
                                                                Gilles.


  reply	other threads:[~2012-01-20 18:32 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-01-20 16:17 [Xenomai-help] rtdm difficulties Terry Fryar
2012-01-20 17:03 ` Philippe Gerum
2012-01-20 17:42   ` Terry Fryar
2012-01-20 18:19 ` Gilles Chanteperdrix
2012-01-20 18:24   ` Terry Fryar
2012-01-20 18:32     ` Gilles Chanteperdrix [this message]
2012-01-20 19:37       ` Terry Fryar
2012-01-20 20:47         ` Philippe Gerum
2012-01-20 21:05           ` [Xenomai-help] rtdm difficulties..fixed Terry Fryar
2012-01-20 21:12           ` [Xenomai-help] rtdm difficulties...not fixed Terry Fryar
2012-01-21 16:05         ` [Xenomai-help] rtdm difficulties Gilles Chanteperdrix
2012-01-22 23:32           ` Terry Fryar

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=4F19B324.8080001@domain.hid \
    --to=gilles.chanteperdrix@xenomai.org \
    --cc=terry.fryar@domain.hid \
    --cc=xenomai@xenomai.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.