From: Eric Miao <eric.y.miao@gmail.com>
To: Stefan Schmidt <stefan@datenfreihafen.org>
Cc: Dmitry Torokhov <dmitry.torokhov@gmail.com>,
linux-arm-kernel@lists.arm.linux.org.uk,
linux-input@vger.kernel.org, Daniel Ribeiro <wyrm@openezx.org>
Subject: Re: [Patch 08/10] input: Touchscreen driver for the PCAP
Date: Tue, 08 Jul 2008 15:40:43 +0800 [thread overview]
Message-ID: <487319FB.5040907@gmail.com> (raw)
In-Reply-To: <20080707202200.GB3449@datenfreihafen.org>
Stefan Schmidt wrote:
> Hello.
>
> On Mon, 2008-07-07 at 16:13, Dmitry Torokhov wrote:
>> On Mon, Jul 07, 2008 at 08:40:08PM +0200, stefan@datenfreihafen.org wrote:
>>> +
>>> + input_dev->evbit[0] = BIT_MASK(EV_KEY) | BIT_MASK(EV_ABS);
>>> + input_dev->keybit[BIT_WORD(BTN_TOUCH)] = BIT_MASK(BTN_TOUCH);
>>> + input_set_abs_params(input_dev, ABS_X, X_AXIS_MIN, X_AXIS_MAX, 0, 0);
>>> + input_set_abs_params(input_dev, ABS_Y, Y_AXIS_MIN, Y_AXIS_MAX, 0, 0);
>>> + input_set_abs_params(input_dev, ABS_PRESSURE, PRESSURE_MIN,
>>> + PRESSURE_MAX, 0, 0);
>>> +
>>> + input_register_device(pcap_ts->input);
>> Please add error handling here, otherwise looks good.
>
> Ok.New patch somes tomorrow. Need sleep now.
>
Well, one small nit: I'm not a language lawyer, but I don't think usage of
u_int32_t/u_int16_t/u_int8_t is encourage nowadays, use uin32_t/uint16_t/uint8_t
or u32/u16/u8.
Note: I'm not going to start an argument on which is the correct one to
use, so it's totally up to you.
next prev parent reply other threads:[~2008-07-08 7:40 UTC|newest]
Thread overview: 25+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20080707184000.411913919@datenfreihafen.org>
2008-07-07 18:40 ` [Patch 01/10] pxafb: More LCCR3 depth defines stefan
2008-07-08 7:43 ` Eric Miao
2008-07-07 18:40 ` [Patch 02/10] pxafb: Support for RGB666, RGBT666, RGB888 and RGBT888 stefan
2008-07-08 7:45 ` Eric Miao
2008-07-08 20:13 ` Stefan Schmidt
2008-07-07 18:40 ` [Patch 06/10] mfd: PCAP driver for the Motorola EZX GSM mobile phones stefan
2008-07-07 19:21 ` pHilipp Zabel
2008-07-07 20:02 ` Stefan Schmidt
2008-07-08 6:49 ` Eric Miao
2008-07-08 14:01 ` Daniel Ribeiro
2008-07-08 20:32 ` Stefan Schmidt
2008-07-08 21:19 ` pHilipp Zabel
2008-07-09 2:34 ` Eric Miao
2008-07-09 6:26 ` Stefan Schmidt
2008-07-09 15:29 ` Liam Girdwood
2008-07-10 16:21 ` Russell King - ARM Linux
2008-07-10 16:40 ` Stefan Schmidt
2008-07-07 18:40 ` [Patch 08/10] input: Touchscreen driver for the PCAP stefan
2008-07-07 20:13 ` Dmitry Torokhov
2008-07-07 20:22 ` Stefan Schmidt
2008-07-08 7:40 ` Eric Miao [this message]
2008-07-08 20:24 ` Stefan Schmidt
2008-07-08 20:26 ` Stefan Schmidt
2008-07-10 14:23 ` Dmitry Torokhov
2008-07-11 15:23 ` Stefan Schmidt
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=487319FB.5040907@gmail.com \
--to=eric.y.miao@gmail.com \
--cc=dmitry.torokhov@gmail.com \
--cc=linux-arm-kernel@lists.arm.linux.org.uk \
--cc=linux-input@vger.kernel.org \
--cc=stefan@datenfreihafen.org \
--cc=wyrm@openezx.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.