From: Andrew Morton <akpm@linux-foundation.org>
To: Mark Brown <broonie@opensource.wolfsonmicro.com>
Cc: dmitry.torokhov@gmail.com, jirislaby@gmail.com,
linux-input@vger.kernel.org, linux-kernel@vger.kernel.org,
hans-christian.egtvedt@atmel.com,
broonie@opensource.wolfsonmicro.com
Subject: Re: [PATCH] Input: add wm97xx accelerated driver for Atmel microprocessors
Date: Tue, 14 Apr 2009 15:53:57 -0700 [thread overview]
Message-ID: <20090414155357.76501a93.akpm@linux-foundation.org> (raw)
In-Reply-To: <1239357192-27726-1-git-send-email-broonie@opensource.wolfsonmicro.com>
On Fri, 10 Apr 2009 10:53:11 +0100
Mark Brown <broonie@opensource.wolfsonmicro.com> wrote:
> From: Hans-Christian Egtvedt <hans-christian.egtvedt@atmel.com>
>
> This patch adds an accelerated driver for Atmel AVR32 AT32AP700X
> microprocessors. It uses interrupts on the channel B in the AC97
> controller. Thus, offloading the work queue in the wm97xx-ts driver.
>
> The driver has been tested with Atmel AVR32 AT32AP7000 and Wolfson
> WM9712 codec.
>
> The driver can also be easily modified to support Atmel AT91 devices, as
> AT91 and AVR32 share the same AC97C module.
>
> [Fixed leak of atmel_wm97xx when probe fails. -- broonie]
>
>
> ...
>
> +static void atmel_wm97xx_acc_pen_up(struct wm97xx *wm)
> +{
> + struct atmel_wm97xx *atmel_wm97xx = platform_get_drvdata(wm->touch_dev);
> + int pen_down = gpio_get_value(atmel_wm97xx->gpio_pen);
> +
> + if (pen_down != 0) {
> + mod_timer(&atmel_wm97xx->pen_timer, jiffies
> + + msecs_to_jiffies(1));
I'd be more comfortable if there was a del_timer_sync() somewhere in
this driver?
> + } else {
> + input_report_abs(wm->input_dev, ABS_PRESSURE, 0);
> + input_report_key(wm->input_dev, BTN_TOUCH, 0);
> + input_sync(wm->input_dev);
> + }
> +}
> +
prev parent reply other threads:[~2009-04-14 22:58 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-04-10 9:53 [PATCH] Input: add wm97xx accelerated driver for Atmel microprocessors Mark Brown
2009-04-10 9:53 ` [PATCH] Input: Don't use IRQF_SAMPLE_RANDOM in wm97xx driver Mark Brown
2009-04-12 0:12 ` Dmitry Torokhov
2009-04-14 22:53 ` Andrew Morton [this message]
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=20090414155357.76501a93.akpm@linux-foundation.org \
--to=akpm@linux-foundation.org \
--cc=broonie@opensource.wolfsonmicro.com \
--cc=dmitry.torokhov@gmail.com \
--cc=hans-christian.egtvedt@atmel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox