From: Mark Brown <broonie@opensource.wolfsonmicro.com>
To: Jiri Slaby <jirislaby@gmail.com>
Cc: Dmitry Torokhov <dmitry.torokhov@gmail.com>,
linux-input@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH 1/2] Input: Accelerated touchscreen support for Marvell Zylonite
Date: Mon, 2 Mar 2009 14:00:44 +0000 [thread overview]
Message-ID: <20090302140044.GA23038@rakim.wolfsonmicro.main> (raw)
In-Reply-To: <49ABE2BC.9010401@gmail.com>
On Mon, Mar 02, 2009 at 02:44:28PM +0100, Jiri Slaby wrote:
> On 2.3.2009 14:23, Mark Brown wrote:
>> +static int pressure;
>> +module_param(pressure, int, 1);
> Weird permissions.
Fixed.
>> + int count = 16;
>> + schedule_timeout_uninterruptible(1);
> You meant ssleep(1)?
msleep, but yes. Shows how old the code is - I'll update.
>> +
>> + while (count< 16) {
> Weird condition.
> + conding style
Hrm. This appears to have been mangled somewhere in the mail path to
you - the indentation is normal in my send-mail folder and in the copy I
got back from the list.
>> + if (tries> 5) {
> Where is tries defined?
Further up the file as a global static. I've pulled the variables into
the function since it's the only place they're used.
>> +static int wm97xx_acc_startup(struct wm97xx *wm)
>> +{
>> + int idx = 0;
> No need to initialize.
Fixed.
>> +static void wm97xx_irq_enable(struct wm97xx *wm, int enable)
>> +{
>> + if (enable)
>> + enable_irq(wm->pen_irq);
>> + else
>> + disable_irq(wm->pen_irq);
> sync?
Could you expand on this, please?
next prev parent reply other threads:[~2009-03-02 14:00 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-03-02 13:23 [PATCH 1/2] Input: Accelerated touchscreen support for Marvell Zylonite Mark Brown
2009-03-02 13:23 ` [PATCH 2/2] Input: add wm97xx accelerated driver for AVR32 AT32AP700X microprocessors Mark Brown
2009-03-02 14:34 ` Jiri Slaby
2009-03-02 22:33 ` Jiri Slaby
2009-03-02 23:02 ` Mark Brown
2009-03-03 9:13 ` Dmitry Torokhov
2009-03-03 10:35 ` Mark Brown
2009-03-02 13:44 ` [PATCH 1/2] Input: Accelerated touchscreen support for Marvell Zylonite Jiri Slaby
2009-03-02 14:00 ` Mark Brown [this message]
2009-03-02 14:15 ` Jiri Slaby
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=20090302140044.GA23038@rakim.wolfsonmicro.main \
--to=broonie@opensource.wolfsonmicro.com \
--cc=dmitry.torokhov@gmail.com \
--cc=jirislaby@gmail.com \
--cc=linux-input@vger.kernel.org \
--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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.