From: Jiri Kosina <jkosina@suse.cz>
To: Stephane Chatty <chatty@lii-enac.fr>
Cc: dmitry.torokhov@gmail.com, linux-input@vger.kernel.org, chatty@enac.fr
Subject: Re: [PATCH] Support for MosArt multitouch panel
Date: Wed, 10 Feb 2010 12:08:40 +0100 (CET) [thread overview]
Message-ID: <alpine.LNX.2.00.1002101207591.30967@pobox.suse.cz> (raw)
In-Reply-To: <20100206141713.EFC3C9520A@smtp.lii-enac.fr>
On Sat, 6 Feb 2010, Stephane Chatty wrote:
> +static int mosart_probe(struct hid_device *hdev, const struct hid_device_id *id)
> +{
> + int ret;
> + struct mosart_data *td;
> +
> +
> + td = kmalloc(sizeof(struct mosart_data), GFP_KERNEL);
> + if (!td) {
> + dev_err(&hdev->dev, "cannot allocate MosArt data\n");
> + return -ENOMEM;
> + }
> + td->valid = false;
> + td->activity = false;
> + td->activity_now = false;
> + td->first = false;
> + hid_set_drvdata(hdev, td);
> +
> + /* currently, it's better to have one evdev device only */
> +#if 0
> + hdev->quirks |= HID_QUIRK_MULTI_INPUT;
> +#endif
Could you please explain what is this about?
Thanks,
--
Jiri Kosina
SUSE Labs, Novell Inc.
next prev parent reply other threads:[~2010-02-10 11:08 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-02-06 14:17 [PATCH] Support for MosArt multitouch panel Stephane Chatty
2010-02-10 11:08 ` Jiri Kosina [this message]
2010-02-10 12:50 ` Stéphane Chatty
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=alpine.LNX.2.00.1002101207591.30967@pobox.suse.cz \
--to=jkosina@suse.cz \
--cc=chatty@enac.fr \
--cc=chatty@lii-enac.fr \
--cc=dmitry.torokhov@gmail.com \
--cc=linux-input@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;
as well as URLs for NNTP newsgroup(s).