mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Dmitry Torokhov <dmitry.torokhov@gmail.com>
To: Haojian Zhuang <hzhuang1@marvell.com>
Cc: "johnpol@2ka.mipt.ru" <johnpol@2ka.mipt.ru>,
	"sameo@linux.intel.com" <sameo@linux.intel.com>,
	"a.zummo@towertech.it" <a.zummo@towertech.it>,
	"lrg@slimlogic.co.uk" <lrg@slimlogic.co.uk>,
	"broonie@opensource.wolfsonmicro.com" 
	<broonie@opensource.wolfsonmicro.com>,
	"rpurdie@rpsys.net" <rpurdie@rpsys.net>,
	"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH] input: touchscreen: use polling mode in 88pm860x
Date: Mon, 14 Mar 2011 22:02:06 -0700	[thread overview]
Message-ID: <20110315050206.GC1046@core.coreip.homeip.net> (raw)
In-Reply-To: <25B60CDC2F704E4E9D88FFD52780CB4C05CEAFFB99@SC-VEXCH1.marvell.com>

On Mon, Mar 14, 2011 at 05:41:35AM -0700, Haojian Zhuang wrote:
> 
> 
> >-----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?
> 

No, I do not believe you can poll from the nested handler since I
believe it shares the thread with other interrupts. In non-nested case
you could though.

Thanks.

-- 
Dmitry

  reply	other threads:[~2011-03-15  5:02 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-03-07 15:43 [PATCH] mfd: adopt mfd_data in 88pm860x backlight Haojian Zhuang
2011-03-07 15:43 ` [PATCH] mfd: adopt mfd_data in 88pm860x led Haojian Zhuang
2011-03-07 15:43   ` [PATCH] mfd: adopt mfd_data in 88pm860x regulator Haojian Zhuang
2011-03-07 15:43     ` [PATCH] mfd: adopt mfd_data in 88pm860x Haojian Zhuang
2011-03-07 15:43       ` [PATCH] mfd: add workqueue thread into 88pm860x Haojian Zhuang
2011-03-07 15:43         ` [PATCH] input: touchscreen: use polling mode in 88pm860x Haojian Zhuang
2011-03-07 15:43           ` [PATCH] input: touchscreen: move initialization " Haojian Zhuang
2011-03-07 15:43             ` [PATCH] mfd: append additional read write on 88pm860x Haojian Zhuang
2011-03-07 15:43               ` [PATCH] rtc: add 88pm860x rtc Haojian Zhuang
2011-03-07 15:43                 ` [PATCH] input: set the long press detection in 88pm860x onkey Haojian Zhuang
2011-03-07 15:43                   ` [PATCH] w1: add DS278x slave driver Haojian Zhuang
2011-03-07 15:43                     ` [PATCH] mfd: pxa-w1: MFD driver for PXA 1wire control + DS1WM chip Haojian Zhuang
2011-03-14 11:28                       ` Samuel Ortiz
2011-03-14 12:34                         ` Haojian Zhuang
2011-03-14 19:55                           ` Jean-Francois Dagenais
2011-03-13  6:45                   ` [PATCH] input: set the long press detection in 88pm860x onkey Dmitry Torokhov
2011-03-14 10:51                 ` [PATCH] rtc: add 88pm860x rtc Samuel Ortiz
2011-03-14 13:09                   ` Haojian Zhuang
2011-03-14 11:25               ` [PATCH] mfd: append additional read write on 88pm860x Samuel Ortiz
2011-03-13  6:44           ` [PATCH] input: touchscreen: use polling mode in 88pm860x Dmitry Torokhov
2011-03-14 12:41             ` Haojian Zhuang
2011-03-15  5:02               ` Dmitry Torokhov [this message]
2011-03-13  6:38         ` [PATCH] mfd: add workqueue thread into 88pm860x Dmitry Torokhov
2011-03-14 11:24       ` [PATCH] mfd: adopt mfd_data in 88pm860x Samuel Ortiz
2011-03-08 23:24     ` [PATCH] mfd: adopt mfd_data in 88pm860x regulator Mark Brown
2011-03-14 11:23     ` Samuel Ortiz
2011-03-14 11:23   ` [PATCH] mfd: adopt mfd_data in 88pm860x led Samuel Ortiz
2011-03-14 10:56 ` [PATCH] mfd: adopt mfd_data in 88pm860x backlight Samuel Ortiz

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=20110315050206.GC1046@core.coreip.homeip.net \
    --to=dmitry.torokhov@gmail.com \
    --cc=a.zummo@towertech.it \
    --cc=broonie@opensource.wolfsonmicro.com \
    --cc=hzhuang1@marvell.com \
    --cc=johnpol@2ka.mipt.ru \
    --cc=linux-kernel@vger.kernel.org \
    --cc=lrg@slimlogic.co.uk \
    --cc=rpurdie@rpsys.net \
    --cc=sameo@linux.intel.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

Powered by JetHome