All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] more quirks for hid-sensor-hub
@ 2016-11-25 10:03 ` Benjamin Tissoires
  0 siblings, 0 replies; 14+ messages in thread
From: Benjamin Tissoires @ 2016-11-25 10:03 UTC (permalink / raw)
  To: Jiri Kosina, Srinivas Pandruvada
  Cc: linux-input-u79uwXL29TY76Z2rM5mHXA,
	linux-iio-u79uwXL29TY76Z2rM5mHXA,
	linux-kernel-u79uwXL29TY76Z2rM5mHXA

Hi Jiri,

here are 2 more quirks for the sensor-hub.

Srinivas, I am wondering if we can not detect those automatically.
Looking at the report_fixup, it looks like the buggy report descriptors have
a logical max of 5 (which would correspond to an enum of 0 to 5). But there
are 6 fields in the enum, so that means the report descriptor is just wrong.

Given that Microsoft's driver requires a min of 1, wouldn't it be too much
assumption to say that we need to fix the report descriptor anyway when we
see a range of 0..5 instead of 1..6?

Cheers,
Benjamin

Benjamin Tissoires (2):
  HID: sensor-hub add quirk for Microsoft Surface 3
  HID: sensor-hub: add quirk for Microchip MM7150

 drivers/hid/hid-sensor-hub.c | 6 ++++++
 1 file changed, 6 insertions(+)

-- 
2.7.4

^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2016-11-29  8:19 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-11-25 10:03 [PATCH 0/2] more quirks for hid-sensor-hub Benjamin Tissoires
2016-11-25 10:03 ` Benjamin Tissoires
     [not found] ` <1480068224-32224-1-git-send-email-benjamin.tissoires-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2016-11-25 10:03   ` [PATCH 1/2] HID: sensor-hub add quirk for Microsoft Surface 3 Benjamin Tissoires
2016-11-25 10:03     ` Benjamin Tissoires
2016-11-25 12:16     ` Bastien Nocera
     [not found]       ` <1480076165.16940.21.camel-0MeiytkfxGOsTnJN9+BGXg@public.gmane.org>
2016-11-25 12:59         ` Benjamin Tissoires
2016-11-25 12:59           ` Benjamin Tissoires
2016-11-25 10:03   ` [PATCH 2/2] HID: sensor-hub: add quirk for Microchip MM7150 Benjamin Tissoires
2016-11-25 10:03     ` Benjamin Tissoires
2016-11-28 13:33   ` [PATCH 0/2] more quirks for hid-sensor-hub Jiri Kosina
2016-11-28 13:33     ` Jiri Kosina
2016-11-28 16:53 ` Srinivas Pandruvada
     [not found]   ` <1480351997.6544.236.camel-VuQAYsv1563Yd54FQh9/CA@public.gmane.org>
2016-11-29  8:19     ` Benjamin Tissoires
2016-11-29  8:19       ` Benjamin Tissoires

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.