HID: rmi: check for the existence of some optional queries before reading query 12
authorAndrew Duggan <aduggan@synaptics.com>
Fri, 2 May 2014 18:14:16 +0000 (11:14 -0700)
committerJiri Kosina <jkosina@suse.cz>
Tue, 13 May 2014 14:37:43 +0000 (16:37 +0200)
The rmi4 spec defines some optional query registers in F11 which appear before
query 12. This patch checks for the existence of some of the lesser used queries to
 compute the location of query12 and all subsequent query registers.

Signed-off-by: Andrew Duggan <aduggan@synaptics.com>
Reviewed-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>

No differences found