diff mbox

[PATCHv2] hid: remove duplicate ID for D-WAV eGalax 0x7224

Message ID 1367937493-16844-1-git-send-email-andriy.shevchenko@linux.intel.com (mailing list archive)
State New, archived
Delegated to: Jiri Kosina
Headers show

Commit Message

Andy Shevchenko May 7, 2013, 2:38 p.m. UTC
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
---
 drivers/hid/hid-ids.h | 1 -
 1 file changed, 1 deletion(-)

Comments

Benjamin Tissoires May 7, 2013, 2:48 p.m. UTC | #1
On 05/07/2013 04:38 PM, Andy Shevchenko wrote:
> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
> ---

I bet it will be easier to track for Jiri if you resend the full series:
- the egalax reordering
- the remove of the duplicate ID

As mentioned previously, also remove the entry in hid-multitouch (the
one containing MT_CLS_EGALAX, not the _SERIAL one).

Cheers,
Benjamin

>  drivers/hid/hid-ids.h | 1 -
>  1 file changed, 1 deletion(-)
> 
> diff --git a/drivers/hid/hid-ids.h b/drivers/hid/hid-ids.h
> index 2378a0b..a5520ba 100644
> --- a/drivers/hid/hid-ids.h
> +++ b/drivers/hid/hid-ids.h
> @@ -268,7 +268,6 @@
>  #define USB_DEVICE_ID_DWAV_EGALAX_MULTITOUCH_7207	0x7207
>  #define USB_DEVICE_ID_DWAV_EGALAX_MULTITOUCH_720C	0x720c
>  #define USB_DEVICE_ID_DWAV_EGALAX_MULTITOUCH_7224	0x7224
> -#define USB_DEVICE_ID_DWAV_EGALAX_MULTITOUCH_7224	0x7224
>  #define USB_DEVICE_ID_DWAV_EGALAX_MULTITOUCH_722A	0x722A
>  #define USB_DEVICE_ID_DWAV_EGALAX_MULTITOUCH_725E	0x725e
>  #define USB_DEVICE_ID_DWAV_EGALAX_MULTITOUCH_7262	0x7262
> 

--
To unsubscribe from this list: send the line "unsubscribe linux-input" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Andy Shevchenko May 8, 2013, 7:23 a.m. UTC | #2
On Tue, 2013-05-07 at 16:48 +0200, Benjamin Tissoires wrote: 
> On 05/07/2013 04:38 PM, Andy Shevchenko wrote:
> > Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
> > ---
> 
> I bet it will be easier to track for Jiri if you resend the full series:
> - the egalax reordering
> - the remove of the duplicate ID
> 
> As mentioned previously, also remove the entry in hid-multitouch (the
> one containing MT_CLS_EGALAX, not the _SERIAL one).

Then it repeats v1, doesn't it?

The difference between MT_USB_DEVICE and HID_USB_DEVICE macros is
in .group member. Does it somehow affect device matching?

> 
> Cheers,
> Benjamin
> 
> >  drivers/hid/hid-ids.h | 1 -
> >  1 file changed, 1 deletion(-)
> > 
> > diff --git a/drivers/hid/hid-ids.h b/drivers/hid/hid-ids.h
> > index 2378a0b..a5520ba 100644
> > --- a/drivers/hid/hid-ids.h
> > +++ b/drivers/hid/hid-ids.h
> > @@ -268,7 +268,6 @@
> >  #define USB_DEVICE_ID_DWAV_EGALAX_MULTITOUCH_7207	0x7207
> >  #define USB_DEVICE_ID_DWAV_EGALAX_MULTITOUCH_720C	0x720c
> >  #define USB_DEVICE_ID_DWAV_EGALAX_MULTITOUCH_7224	0x7224
> > -#define USB_DEVICE_ID_DWAV_EGALAX_MULTITOUCH_7224	0x7224
> >  #define USB_DEVICE_ID_DWAV_EGALAX_MULTITOUCH_722A	0x722A
> >  #define USB_DEVICE_ID_DWAV_EGALAX_MULTITOUCH_725E	0x725e
> >  #define USB_DEVICE_ID_DWAV_EGALAX_MULTITOUCH_7262	0x7262
> > 
>
Benjamin Tissoires May 13, 2013, 9:21 a.m. UTC | #3
On Wed, May 8, 2013 at 9:23 AM, Andy Shevchenko
<andriy.shevchenko@linux.intel.com> wrote:
> On Tue, 2013-05-07 at 16:48 +0200, Benjamin Tissoires wrote:
>> On 05/07/2013 04:38 PM, Andy Shevchenko wrote:
>> > Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
>> > ---
>>
>> I bet it will be easier to track for Jiri if you resend the full series:
>> - the egalax reordering
>> - the remove of the duplicate ID
>>
>> As mentioned previously, also remove the entry in hid-multitouch (the
>> one containing MT_CLS_EGALAX, not the _SERIAL one).
>
> Then it repeats v1, doesn't it?

I can not speak for Jiri, but IMO, it's easier to say:
"Hey Jiri, pick up the patch series  v3 for this topic", instead of
"Hey Jiri, please pick the patch 1 from v1 and patch 2 from v4 about
this topic."

So I would say yes, repeat v1 but add a comment in the cover letter
explaining the changes (for example, no changes in patch 1/2, patch
2/2 amended like this and that).

>
> The difference between MT_USB_DEVICE and HID_USB_DEVICE macros is
> in .group member. Does it somehow affect device matching?
>

It does internally to some extend, but it won't change the final handling.
MT_USB_DEVICE is cleaner because it will ask to grab only the MT
interface. HID_USB_DEVICE will introduce a race with hid-generic to
handle the non-MT interfaces, which are not present in the eGalax case
IIRC. So basically, we just missed that HID_USB_ / MT_USB_ problem
when including the patch upstream.

Cheers,
Benjamin
--
To unsubscribe from this list: send the line "unsubscribe linux-input" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Jiri Kosina May 13, 2013, 11:55 a.m. UTC | #4
On Mon, 13 May 2013, Benjamin Tissoires wrote:

> On Wed, May 8, 2013 at 9:23 AM, Andy Shevchenko
> <andriy.shevchenko@linux.intel.com> wrote:
> > On Tue, 2013-05-07 at 16:48 +0200, Benjamin Tissoires wrote:
> >> On 05/07/2013 04:38 PM, Andy Shevchenko wrote:
> >> > Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
> >> > ---
> >>
> >> I bet it will be easier to track for Jiri if you resend the full series:
> >> - the egalax reordering
> >> - the remove of the duplicate ID
> >>
> >> As mentioned previously, also remove the entry in hid-multitouch (the
> >> one containing MT_CLS_EGALAX, not the _SERIAL one).
> >
> > Then it repeats v1, doesn't it?
> 
> I can not speak for Jiri, but IMO, it's easier to say:
> "Hey Jiri, pick up the patch series  v3 for this topic", instead of
> "Hey Jiri, please pick the patch 1 from v1 and patch 2 from v4 about
> this topic."
> 
> So I would say yes, repeat v1 but add a comment in the cover letter
> explaining the changes (for example, no changes in patch 1/2, patch
> 2/2 amended like this and that).

Yes, exactly, please just do a fresh resend of the series with all the 
feedback incorporated.

Thanks,
diff mbox

Patch

diff --git a/drivers/hid/hid-ids.h b/drivers/hid/hid-ids.h
index 2378a0b..a5520ba 100644
--- a/drivers/hid/hid-ids.h
+++ b/drivers/hid/hid-ids.h
@@ -268,7 +268,6 @@ 
 #define USB_DEVICE_ID_DWAV_EGALAX_MULTITOUCH_7207	0x7207
 #define USB_DEVICE_ID_DWAV_EGALAX_MULTITOUCH_720C	0x720c
 #define USB_DEVICE_ID_DWAV_EGALAX_MULTITOUCH_7224	0x7224
-#define USB_DEVICE_ID_DWAV_EGALAX_MULTITOUCH_7224	0x7224
 #define USB_DEVICE_ID_DWAV_EGALAX_MULTITOUCH_722A	0x722A
 #define USB_DEVICE_ID_DWAV_EGALAX_MULTITOUCH_725E	0x725e
 #define USB_DEVICE_ID_DWAV_EGALAX_MULTITOUCH_7262	0x7262