From: Christopher Heiny <cheiny@synaptics.com>
To: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Cc: Jean Delvare <khali@linux-fr.org>,
Linux Kernel <linux-kernel@vger.kernel.org>,
Linux Input <linux-input@vger.kernel.org>,
Allie Xiong <axiong@synaptics.com>, Vivian Ly <vly@synaptics.com>,
Daniel Rosenberg <daniel.rosenberg@synaptics.com>,
Alexandra Chin <alexandra.chin@tw.synaptics.com>,
Joerie de Gram <j.de.gram@gmail.com>,
Wolfram Sang <w.sang@pengutronix.de>,
Mathieu Poirier <mathieu.poirier@linaro.org>,
Linus Walleij <linus.walleij@stericsson.com>
Subject: Re: [PATCH 04/05] input: RMI4 F01 device control
Date: Thu, 7 Feb 2013 15:19:56 -0800 [thread overview]
Message-ID: <5114369C.4090904@synaptics.com> (raw)
In-Reply-To: <510ADEA2.1080407@synaptics.com>
On 01/31/2013 01:14 PM, Christopher Heiny wrote:
> On 01/31/2013 12:08 AM, Dmitry Torokhov wrote:
>> Hi Chris,
>>
>> On Fri, Jan 18, 2013 at 05:12:44PM -0800, Christopher Heiny wrote:
>>> In addition to the changes described in 0/0 of this patchset, this patch
>>> includes device serialization updated to conform to the latest RMI4
>>> specification.
>>
>> I was looking at the various aspects of the RMI4 patchset, trying to
>> fix the issues that I see, but there is one big issue that I simply do
>> not have time to tackle - the driver is completely broken on big endian
>> architectures due to reliance on bitfileds when exchanging the data with
>> the device.
>
> Grumble. I brought this up during the original development, but was
> assured that it would work fine per the C language spec. I'll have to
> revisit that discussion and report back.
OK, after some trivial research it turns out you're right, and I was
right originally, but let myself be blindsided by bafflegab. Doh!
As you mentioned, fixing the endian-ness problem is a pretty wide
ranging change to the way things are done in the driver. Fortunately
it's not a structural change to the architecture of the driver.
But because it affects pretty much the whole code (which is actually a
LOT more code than we're currently submitting - but that unsubmitted
code will have to be updated concurrently with the submitted code to
prevent a trainwreck), I'd like to isolate that fix to a single event.
So I propose we get all our other issues worked out, since a bunch of
them are already in progress. Once that stuff is stable, my team can do
one big change to fix the endian bug. If the code is stable, we can do
the update on our end pretty quickly.
How does that sound?
Chris
next prev parent reply other threads:[~2013-02-07 23:20 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-01-19 1:12 [PATCH 00/05] input: RMI4 Synaptics RMI4 Touchscreen Driver Christopher Heiny
2013-01-19 1:12 ` [PATCH 01/05] input: RMI4 public header file Christopher Heiny
2013-01-19 1:12 ` [PATCH 02/05] input: RMI4 core files Christopher Heiny
2013-01-19 1:12 ` [PATCH 03/05] input: RMI4 I2C physical layer Christopher Heiny
2013-01-19 1:12 ` [PATCH 04/05] input: RMI4 F01 device control Christopher Heiny
2013-01-31 8:08 ` Dmitry Torokhov
2013-01-31 21:14 ` Christopher Heiny
2013-02-07 23:19 ` Christopher Heiny [this message]
2013-01-19 1:12 ` [PATCH 05/05] input: RMI4 F11 2D input Christopher Heiny
2014-02-04 7:56 ` [PATCH 00/05] input: RMI4 Synaptics RMI4 Touchscreen Driver Linus Walleij
2014-02-04 20:20 ` Christopher Heiny
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=5114369C.4090904@synaptics.com \
--to=cheiny@synaptics.com \
--cc=alexandra.chin@tw.synaptics.com \
--cc=axiong@synaptics.com \
--cc=daniel.rosenberg@synaptics.com \
--cc=dmitry.torokhov@gmail.com \
--cc=j.de.gram@gmail.com \
--cc=khali@linux-fr.org \
--cc=linus.walleij@stericsson.com \
--cc=linux-input@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mathieu.poirier@linaro.org \
--cc=vly@synaptics.com \
--cc=w.sang@pengutronix.de \
/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