linux-input.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Arve Hjønnevåg" <arve@android.com>
To: Pavel Machek <pavel@ucw.cz>
Cc: Dmitry Torokhov <dmitry.torokhov@gmail.com>,
	kernel list <linux-kernel@vger.kernel.org>,
	Brian Swetland <swetland@google.com>,
	linux-input@vger.kernel.org, Andrew Morton <akpm@osdl.org>
Subject: Re: Support for synaptic touchscreen in HTC dream
Date: Wed, 15 Jul 2009 13:24:49 -0700	[thread overview]
Message-ID: <d6200be20907151324t7c133d49ofedf02efda4054cd@mail.gmail.com> (raw)
In-Reply-To: <20090715134855.GB2538@elf.ucw.cz>

On Wed, Jul 15, 2009 at 6:48 AM, Pavel Machek<pavel@ucw.cz> wrote:
> On Tue 2009-07-14 10:52:12, Dmitry Torokhov wrote:
>> On Tue, Jul 14, 2009 at 12:06:34PM +0200, Pavel Machek wrote:
>> > From: Arve Hj?nnev?g <arve@android.com>
>> >
>> > This adds support for synaptic touchscreen, used in HTC dream
>> > cellphone.
>> >
>> > Signed-off-by: Pavel Machek <pavel@ucw.cz>
>>
>> This is pretty large body of code, could we get a sign-off from Arve as
>> well since he seems to be the author?
>
> Arve?
>

The original patches has my sign-offs. Can you just keep that and add
a line describing your changes before your sign-off?

...
>> > +static struct workqueue_struct *synaptics_wq;
>>
>> Do we need a separate workqueue? Is reading the device that slow that we
>> can use keventd?
>

keventd has two problems. First, other work runs on it that can take
more than 12.5ms. This will case dropped events. Second, the i2c bus
sometimes locks up, which in turns would cause this driver to block
keventd for seconds.

...
>> > +   if (client->irq) {
>> > +           ret = request_irq(client->irq, synaptics_ts_irq_handler,
>> > +                             0, client->name, ts);
>>
>> I think threaded IRQ will fit the bill and will take care of
>> IRQ/workqueue shutdown races. Of course you still need to use workqueue
>> if polling.
>
> I guess we'll just strip polling version for now?

Sounds good to me.

-- 
Arve Hjønnevåg
--
To unsubscribe from this list: send the line "unsubscribe linux-input" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

  parent reply	other threads:[~2009-07-15 20:24 UTC|newest]

Thread overview: 66+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-07-14 10:06 Support for synaptic touchscreen in HTC dream Pavel Machek
2009-07-14 10:20 ` Trilok Soni
     [not found]   ` <5d5443650907140320w334864f4uc1ee13ed32fdb874-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2009-07-15 13:36     ` Pavel Machek
     [not found]       ` <20090715133627.GA2538-I/5MKhXcvmPrBKCeMvbIDA@public.gmane.org>
2009-07-15 17:33         ` Trilok Soni
     [not found]           ` <5d5443650907151033w36008b71pe4b32bcea9489b75-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2009-07-21 10:21             ` Pavel Machek
2009-07-21 10:34               ` Trilok Soni
     [not found]                 ` <5d5443650907210334k3f562cebsc665511a161c8639-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2009-08-08 13:40                   ` Synaptics touchscreen for HTC Dream: check that smbus is available Pavel Machek
     [not found]                     ` <20090808134049.GA13083-I/5MKhXcvmPrBKCeMvbIDA@public.gmane.org>
2009-08-17 23:47                       ` Andrew Morton
     [not found]                         ` <20090817164759.43c39f2d.akpm-de/tnXTf+JLsfHDXvbKv3WD2FQJk+8+b@public.gmane.org>
2009-08-21 14:23                           ` Pavel Machek
2009-07-21 10:59           ` Threaded interrupts for synaptic touchscreen in HTC dream Pavel Machek
     [not found]             ` <20090721105924.GK4133-I/5MKhXcvmPrBKCeMvbIDA@public.gmane.org>
2009-07-21 11:36               ` Mark Brown
     [not found]                 ` <20090721113642.GC13286-GFdadSzt00ze9xe1eoZjHA@public.gmane.org>
2009-07-21 12:18                   ` Trilok Soni
2009-07-21 12:30                     ` Trilok Soni
2009-07-21 12:49                       ` Mark Brown
     [not found]                         ` <20090721124933.GA5668-HF5t3jzXg/6ND3a5+9QAFujbO/Zr0HzV@public.gmane.org>
2009-07-21 16:04                           ` Dmitry Torokhov
     [not found]                             ` <20090721160436.GD4352-wUGeVx6es1+Q2O5dskk9LyLysJ1jNyTM@public.gmane.org>
2009-07-21 20:30                               ` Thomas Gleixner
2009-07-21 20:58                                 ` Dmitry Torokhov
2009-07-21 21:48                                   ` Thomas Gleixner
     [not found]                                 ` <alpine.LFD.2.00.0907212225030.2813-bi+AKbBUZKY6gyzm1THtWbp2dZbC/Bob@public.gmane.org>
2009-07-21 22:25                                   ` Mark Brown
     [not found]                                     ` <20090721222547.GA1948-yzvPICuk2AATkU/dhu1WVueM+bqZidxxQQ4Iyu8u01E@public.gmane.org>
2009-07-22 10:44                                       ` Thomas Gleixner
     [not found]                                         ` <alpine.LFD.2.00.0907221022190.2813-bi+AKbBUZKY6gyzm1THtWbp2dZbC/Bob@public.gmane.org>
2009-07-22 12:18                                           ` Mark Brown
2009-07-22 12:58                                             ` Thomas Gleixner
     [not found]                                               ` <alpine.LFD.2.00.0907221427380.2813-bi+AKbBUZKY6gyzm1THtWbp2dZbC/Bob@public.gmane.org>
2009-07-22 13:30                                                 ` Peter Zijlstra
2009-07-22 14:18                                                   ` Thomas Gleixner
     [not found]                                                     ` <alpine.LFD.2.00.0907221615480.2813-bi+AKbBUZKY6gyzm1THtWbp2dZbC/Bob@public.gmane.org>
2009-07-22 14:32                                                       ` Mark Brown
     [not found]                                                         ` <20090722143211.GB29404-HF5t3jzXg/6ND3a5+9QAFujbO/Zr0HzV@public.gmane.org>
2009-07-22 14:52                                                           ` Thomas Gleixner
     [not found]                                                             ` <alpine.LFD.2.00.0907221645240.2813-bi+AKbBUZKY6gyzm1THtWbp2dZbC/Bob@public.gmane.org>
2009-07-22 14:56                                                               ` Mark Brown
2009-07-22 15:15                                                                 ` Thomas Gleixner
     [not found]                                                                   ` <alpine.LFD.2.00.0907221715260.2813-bi+AKbBUZKY6gyzm1THtWbp2dZbC/Bob@public.gmane.org>
2009-07-22 15:56                                                                     ` Mark Brown
2009-07-22 16:57                                                   ` David Brownell
     [not found]                                                     ` <200907220957.16499.david-b-yBeKhBN/0LDR7s880joybQ@public.gmane.org>
2009-07-22 21:04                                                       ` Thomas Gleixner
     [not found]                                                         ` <alpine.LFD.2.00.0907222226270.2813-bi+AKbBUZKY6gyzm1THtWbp2dZbC/Bob@public.gmane.org>
2009-07-22 21:57                                                           ` Arve Hjønnevåg
     [not found]                                                             ` <d6200be20907221457r4e2f6d29g57146586fd13776a-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2009-07-22 22:15                                                               ` David Brownell
2009-07-22 23:30                                                                 ` Arve Hjønnevåg
2009-07-22 22:09                                                         ` David Brownell
2009-07-23  4:43                                                         ` Dmitry Torokhov
2009-07-22 13:31                                                 ` Mark Brown
2009-07-22 17:04                                                   ` David Brownell
2009-07-22 17:08                                                     ` Mark Brown
2009-07-22 16:04                                               ` Dmitry Torokhov
     [not found]                                                 ` <20090722155811.GA2775-wUGeVx6es1+Q2O5dskk9LyLysJ1jNyTM@public.gmane.org>
2009-07-22 16:40                                                   ` Thomas Gleixner
2009-07-22 16:57                                                     ` Mark Brown
     [not found]                                                     ` <alpine.LFD.2.00.0907221830410.2813-bi+AKbBUZKY6gyzm1THtWbp2dZbC/Bob@public.gmane.org>
2009-07-22 17:08                                                       ` Dmitry Torokhov
2009-07-22 17:13                                                       ` David Brownell
2009-07-22 16:51                                               ` David Brownell
2009-07-22 16:39                                 ` David Brownell
     [not found]                                   ` <200907220939.33399.david-b-yBeKhBN/0LDR7s880joybQ@public.gmane.org>
2009-07-22 16:43                                     ` Thomas Gleixner
2009-07-22 17:34                                       ` David Brownell
2009-07-22 16:50                                     ` Mark Brown
2009-07-22 17:41                                 ` David Brownell
2009-07-21 20:43                               ` Daniel Ribeiro
2009-07-21 12:30                     ` Mark Brown
2009-07-23 14:55                 ` Pavel Machek
2009-07-15 21:33         ` Support " Arve Hjønnevåg
2009-07-21 10:40           ` Pavel Machek
2009-07-14 17:52 ` Dmitry Torokhov
2009-07-15 13:48   ` Pavel Machek
2009-07-15 15:27     ` Dmitry Torokhov
2009-07-15 15:33       ` Brian Swetland
2009-07-15 17:26         ` Trilok Soni
2009-07-15 18:43       ` Arve Hjønnevåg
2009-07-15 20:24     ` Arve Hjønnevåg [this message]
2009-07-15 13:50   ` Pavel Machek
2009-08-08 14:02   ` HTC Dream for staging: small cleanups [was Re: Support for synaptic touchscreen in HTC dream] Pavel Machek
2009-07-14 20:25 ` Support for synaptic touchscreen in HTC dream Andreas Mohr
2009-07-14 20:33   ` Andreas Mohr

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=d6200be20907151324t7c133d49ofedf02efda4054cd@mail.gmail.com \
    --to=arve@android.com \
    --cc=akpm@osdl.org \
    --cc=dmitry.torokhov@gmail.com \
    --cc=linux-input@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=pavel@ucw.cz \
    --cc=swetland@google.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;
as well as URLs for NNTP newsgroup(s).