]> git.openfabrics.org - ~shefty/rdma-dev.git/commit
hid-input/battery: add FEATURE quirk
authorJeremy Fitzhardinge <jeremy@goop.org>
Fri, 9 Dec 2011 08:10:28 +0000 (00:10 -0800)
committerJeremy Fitzhardinge <jeremy@goop.org>
Sun, 8 Jan 2012 07:31:25 +0000 (18:31 +1100)
commit652aa6a9ac4a5f8d3e1fa3f6466646519e83c01e
treef5e08d9b5fc1634574cc713b66d96ebf1ff4c530
parentce63920b395f1476e2d28cca16a56919289f0b62
hid-input/battery: add FEATURE quirk

Apple keyboards require a FEATURE report to query the battery state,
even though they list as an input.  Without this, it returns an error.

Signed-off-by: Jeremy Fitzhardinge <jeremy@goop.org>
drivers/hid/hid-ids.h
drivers/hid/hid-input.c