lkml.org 
[lkml]   [2006]   [Nov]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectMX21 keypad driver interrupt issue
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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2006-11-22 06:21    [W:0.027 / U:0.048 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site