projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
130a69b
)
HID: wiimote: Enable NO_INIT_REPORTS quirk
author
David Herrmann
<dh.herrmann@googlemail.com>
Thu, 17 Nov 2011 13:12:14 +0000
(14:12 +0100)
committer
Jiri Kosina
<jkosina@suse.cz>
Tue, 22 Nov 2011 22:11:34 +0000
(23:11 +0100)
Newer bluetooth stack supports the NO_INIT_REPORTS quirk. The wiimote does not
support report initialization so enable it by default.
Signed-off-by: David Herrmann <dh.herrmann@googlemail.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/hid-wiimote-core.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/hid/hid-wiimote-core.c
b/drivers/hid/hid-wiimote-core.c
index 0cb391d2f04a6264156464a27986e6efdb0c6538..61881b35c6702fa976b6e289cefb74ebbbe0ec4b 100644
(file)
--- a/
drivers/hid/hid-wiimote-core.c
+++ b/
drivers/hid/hid-wiimote-core.c
@@
-1175,6
+1175,8
@@
static int wiimote_hid_probe(struct hid_device *hdev,
struct wiimote_data *wdata;
int ret;
+ hdev->quirks |= HID_QUIRK_NO_INIT_REPORTS;
+
wdata = wiimote_create(hdev);
if (!wdata) {
hid_err(hdev, "Can't alloc device\n");