lkml.org 
[lkml]   [2011]   [Mar]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRE: [PATCH] input: touchscreen: use polling mode in 88pm860x


>-----Original Message-----
>From: Dmitry Torokhov [mailto:dmitry.torokhov@gmail.com]
>Sent: 2011年3月13日 2:44 PM
>To: Haojian Zhuang
>Cc: johnpol@2ka.mipt.ru; sameo@linux.intel.com; a.zummo@towertech.it;
>lrg@slimlogic.co.uk; broonie@opensource.wolfsonmicro.com;
>rpurdie@rpsys.net; linux-kernel@vger.kernel.org
>Subject: Re: [PATCH] input: touchscreen: use polling mode in 88pm860x
>
>On Mon, Mar 07, 2011 at 11:43:14PM +0800, Haojian Zhuang wrote:
>> Measuring point on touchscreen with IRQ mode can only monitor pen-down
>> event. If finger is moving on touchscreen, it can't be monitored by
>> IRQ pen-down event. So switch to polling mode after pen-down event.
>>
>
>Instead of scheduling work you could stay in the interrupt handler
>(which is a separate thread) and poll from it. Or is it a nested
>interrupt and it is sharing the interrupt thread?
>
>Thanks.
>
>--
>Dmitry

I'm using a nested interrupt. Do you mean that I should keep polling in the nested interrupt handler?

Thanks
Haojian
\
 
 \ /
  Last update: 2011-03-14 13:45    [from the cache]
©2003-2014 Jasper Spaans. Advertise on this site