linux-input.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Ellen Wang <ellen-qUQiAmfTcIp+XZJcv9eMoEEOCMrvLtNR@public.gmane.org>
To: Jiri Kosina <jkosina-IBi9RG/b67k@public.gmane.org>,
	Antonio Borneo
	<borneo.antonio-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
Cc: David Barksdale
	<dbarksdale-2SNLKkHU5xRBDgjK7y7TUQ@public.gmane.org>,
	linux-input <linux-input-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>,
	linux-i2c-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: Re: [PATCH v1] HID: cp2112: support i2c write-read transfers in hid-cp2112
Date: Wed, 08 Jul 2015 03:33:05 -0700	[thread overview]
Message-ID: <559CFC61.6000303@cumulusnetworks.com> (raw)
In-Reply-To: <alpine.LNX.2.00.1507081133350.10183-ztGlSCb7Y1iN3ZZ/Hiejyg@public.gmane.org>

On 07/08/2015 02:34 AM, Jiri Kosina wrote:
> On Sat, 20 Jun 2015, Antonio Borneo wrote:
>
>>> Signed-off-by: Ellen Wang <ellen-qUQiAmfTcIp+XZJcv9eMoEEOCMrvLtNR@public.gmane.org>
>>> ---
>>>   drivers/hid/hid-cp2112.c |   74 ++++++++++++++++++++++++++++++++++------------
>>>   1 file changed, 55 insertions(+), 19 deletions(-)
>>>
>>> diff --git a/drivers/hid/hid-cp2112.c b/drivers/hid/hid-cp2112.c
>>> index 5a72819..00d062a 100644
>>> --- a/drivers/hid/hid-cp2112.c
>>> +++ b/drivers/hid/hid-cp2112.c
>>> @@ -153,6 +153,7 @@ MODULE_DEVICE_TABLE(hid, cp2112_devices);
>>>   struct cp2112_device {
>>>          struct i2c_adapter adap;
>>>          struct hid_device *hdev;
>>> +       int hwversion;
>>
>> No need for int; u8 is enough (value is copyed from buf[2] that is u8).
>> Put the new u8 field few lines below, together with the other u8, to
>> avoid extra padding.
>>
>> No need to send immediately a new version. Let's see if there is any
>> other comment and if someone can test it before me.
>
> Antonio, is there any result of your testing? I have put this patch on
> hold waiting for your word on it, but it has been ~3 weeks already.
>
> Thanks,

This patch should be applied after my other patch:
https://patchwork.ozlabs.org/patch/492842/

  parent reply	other threads:[~2015-07-08 10:33 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-06-18  9:55 [PATCH v1] HID: cp2112: support i2c write-read transfers in hid-cp2112 Ellen Wang
     [not found] ` <1434621340-10422-1-git-send-email-ellen-qUQiAmfTcIp+XZJcv9eMoEEOCMrvLtNR@public.gmane.org>
2015-06-20 15:41   ` Antonio Borneo
     [not found]     ` <CAAj6DX03vzNHVLE2gx+zOCud-3WWUnewYCc2-z-wXKhDPHRYQg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2015-07-01  8:09       ` Ellen Wang
2015-07-08  9:34       ` Jiri Kosina
     [not found]         ` <alpine.LNX.2.00.1507081133350.10183-ztGlSCb7Y1iN3ZZ/Hiejyg@public.gmane.org>
2015-07-08 10:33           ` Ellen Wang [this message]
2015-07-09 12:22             ` Jiri Kosina
2015-07-10  7:03               ` Ellen Wang

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=559CFC61.6000303@cumulusnetworks.com \
    --to=ellen-quqiamftcip+xzjcv9emoeeocmrvltnr@public.gmane.org \
    --cc=borneo.antonio-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
    --cc=dbarksdale-2SNLKkHU5xRBDgjK7y7TUQ@public.gmane.org \
    --cc=jkosina-IBi9RG/b67k@public.gmane.org \
    --cc=linux-i2c-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=linux-input-u79uwXL29TY76Z2rM5mHXA@public.gmane.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).