Re: [PATCH] hid: put the case in the right switch statement

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 26 Oct 2012, Benjamin Tissoires wrote:

> Adding Jiri to the recipient list of the patch, otherwise, the thread
> may fall in the depth of his mailbox :)
> 
> Cheers,
> Benjamin
> 
> On Thu, Oct 25, 2012 at 7:08 PM, Benjamin Tissoires
> <benjamin.tissoires@xxxxxxxxx> wrote:
> > Hi Alan,
> >
> > Yes, I saw that too.
> >
> > Acked-by: Benjamin Tissoires <benjamin.tissoires@xxxxxxxxx>
> >
> > On Thu, Oct 25, 2012 at 4:35 PM, Alan Cox <alan@xxxxxxxxxxxxxxxxxxx> wrote:
> >> From: Alan Cox <alan@xxxxxxxxxxxxxxx>
> >>
> >> Signed-off-by: Alan Cox <alan@xxxxxxxxxxxxxxx>
> >> ---
> >>
> >>  drivers/hid/hid-multitouch.c |    2 +-
> >>  1 file changed, 1 insertion(+), 1 deletion(-)
> >>
> >> diff --git a/drivers/hid/hid-multitouch.c b/drivers/hid/hid-multitouch.c
> >> index 3eb02b9..c97011c 100644
> >> --- a/drivers/hid/hid-multitouch.c
> >> +++ b/drivers/hid/hid-multitouch.c
> >> @@ -421,11 +421,11 @@ static int mt_input_mapping(struct hid_device *hdev, struct hid_input *hi,
> >>                          * contact max are global to the report */
> >>                         td->last_field_index = field->index;
> >>                         return -1;
> >> -               }
> >>                 case HID_DG_TOUCH:
> >>                         /* Legacy devices use TIPSWITCH and not TOUCH.
> >>                          * Let's just ignore this field. */
> >>                         return -1;
> >> +               }
> >>                 /* let hid-input decide for the others */
> >>                 return 0;
> >>
> >>

Good catch, thanks. Applying.

Alan, please don't forget to CC proper maintainers on such patches. 
Patches tend to often get lost when sent only to mailinglists 
unfortunately.

Thanks,

-- 
Jiri Kosina
SUSE Labs
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux