All of lore.kernel.org
 help / color / mirror / Atom feed
From: Dirk Behme <dirk.behme@googlemail.com>
To: linux-omap-open-source@linux.omap.com
Subject: [PATCH] Support all four gpio trigger modes for OMAP1610
Date: Sat, 18 Feb 2006 09:19:31 +0100	[thread overview]
Message-ID: <43F6D893.9030004@gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 141 bytes --]


ARM: OMAP: Support all four OMAP1610 GPIO trigger modes
(proposed by David Brownell)

Signed-off-by: Dirk Behme <dirk.behme_at_gmail.com>



[-- Attachment #2: gpio_trigger.patch --]
[-- Type: text/x-patch, Size: 483 bytes --]

--- ./arch/arm/plat-omap/gpio.c_orig	2006-02-18 07:43:54.000000000 +0100
+++ ./arch/arm/plat-omap/gpio.c	2006-02-18 08:59:30.000000000 +0100
@@ -452,10 +452,8 @@ static int _set_gpio_triggering(struct g
 		l &= ~(3 << (gpio << 1));
 		if (trigger & __IRQT_RISEDGE)
 			l |= 2 << (gpio << 1);
-		else if (trigger & __IRQT_FALEDGE)
+		if (trigger & __IRQT_FALEDGE)
 			l |= 1 << (gpio << 1);
-		else
-			goto bad;
 		break;
 	case METHOD_GPIO_730:
 		reg += OMAP730_GPIO_INT_CONTROL;


[-- Attachment #3: Type: text/plain, Size: 0 bytes --]



             reply	other threads:[~2006-02-18  8:19 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-02-18  8:19 Dirk Behme [this message]
2006-02-20 22:52 ` [PATCH] Support all four gpio trigger modes for OMAP1610 Tony Lindgren

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=43F6D893.9030004@gmail.com \
    --to=dirk.behme@googlemail.com \
    --cc=linux-omap-open-source@linux.omap.com \
    /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.