From: "Dilan Weerakkody" <dilan2005@gmail.com>
To: linux-kernel@vger.kernel.org
Subject: MX21 keypad driver interrupt issue
Date: Wed, 22 Nov 2006 11:15:31 +0600 [thread overview]
Message-ID: <e65b9ae80611212115r42dccbfcha51d9c1e52964e5e@mail.gmail.com> (raw)
In-Reply-To: <e65b9ae80611212102x2836f2d3ycb38a90ece2c4364@mail.gmail.com>
hi all,
i writing keypad driver on
*mx21 ads board for
* kernel 2.6.14
i got a problem on interrupt handling ,
the isr routine for kpp
1.when interrupt occur first i disable interrupt by clear KRIE and KDIE bit
2.next i scan key pad matrix
3.clear KPDK bit (but when i read this bit i can see that KPDK flag
bit is still not cleared)
4.then i enable KDIE bit again
all above 1,2,3,4 written within interrupt handler (is this a problem?);
my problem is KPP interrupt handler run over and over again after once
i touch a key and release it
please help
thanks
dilan
parent reply other threads:[~2006-11-22 5:15 UTC|newest]
Thread overview: expand[flat|nested] mbox.gz Atom feed
[parent not found: <e65b9ae80611212102x2836f2d3ycb38a90ece2c4364@mail.gmail.com>]
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=e65b9ae80611212115r42dccbfcha51d9c1e52964e5e@mail.gmail.com \
--to=dilan2005@gmail.com \
--cc=linux-kernel@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
all inboxes | Powered by JetHome®