public inbox for linux-omap@vger.kernel.org
 help / color / mirror / Atom feed
From: Komal Shah <komal_shah802003@yahoo.com>
Cc: linux-omap-open-source@linux.omap.com
Subject: Re: OMAP: Update OMAP keypad driver
Date: Fri, 17 Feb 2006 07:12:07 -0800 (PST)	[thread overview]
Message-ID: <20060217151207.48903.qmail@web32904.mail.mud.yahoo.com> (raw)
In-Reply-To: <1139821011.5208.11.camel@two.research.nokia.com>

--- Juha Yrjölä <juha.yrjola@nokia.com> wrote:

> 
> I was the one who removed that, since it breaks keypad support on all
> OMAP24xx boards (except H4, I presume) that have Menelaus on them. 
> And
> there are quite a few of those.
> 
> Please submit a patch that moves the stuff above into board-h4.c.
> 

I will submit that patch soon, having some problem in H4 setup right
now.

Before that can't we convert the code below in keypad to

253 down(&kp_enable_mutex);
254 	if (state != kp_enable) {
255 	if (state)
256 		enable_irq(INT_KEYBOARD);
257 	else
258 		disable_irq(INT_KEYBOARD);
259 		kp_enable = state;
260 }
261 up(&kp_enable_mutex);

- Use mutex apis.
- and use platform driver data omap_kp->irq instead of INT_KEYBOARD.

Also as of now, I am not getting interrupt on H4 Menelaus keypad, looks
like due to trigger flags changes...or something else.

---Komal Shah
http://komalshah.blogspot.com/

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

  reply	other threads:[~2006-02-17 15:12 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-02-13  7:41 OMAP: Update OMAP keypad driver Komal Shah
2006-02-13  8:56 ` Juha Yrjölä
2006-02-17 15:12   ` Komal Shah [this message]
2006-02-17 16:30     ` David Weinehall
2006-02-17 21:06       ` Komal Shah

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=20060217151207.48903.qmail@web32904.mail.mud.yahoo.com \
    --to=komal_shah802003@yahoo.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox