aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/hid/hid-wiimote-core.c
diff options
context:
space:
mode:
authorDavid Herrmann <dh.herrmann@googlemail.com>2011-11-17 08:12:14 -0500
committerJiri Kosina <jkosina@suse.cz>2011-11-22 17:11:34 -0500
commit90120d66974ecf22c32d8cbb2347097ce4144403 (patch)
tree2079a1db82a048f1274e33839eb61b921526913c /drivers/hid/hid-wiimote-core.c
parent130a69b9eb385566d861035b47779f4f2b0df14c (diff)
HID: wiimote: Enable NO_INIT_REPORTS quirk
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>
Diffstat (limited to 'drivers/hid/hid-wiimote-core.c')
-rw-r--r--drivers/hid/hid-wiimote-core.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/hid/hid-wiimote-core.c b/drivers/hid/hid-wiimote-core.c
index 0cb391d2f04a..61881b35c670 100644
--- 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,
1175 struct wiimote_data *wdata; 1175 struct wiimote_data *wdata;
1176 int ret; 1176 int ret;
1177 1177
1178 hdev->quirks |= HID_QUIRK_NO_INIT_REPORTS;
1179
1178 wdata = wiimote_create(hdev); 1180 wdata = wiimote_create(hdev);
1179 if (!wdata) { 1181 if (!wdata) {
1180 hid_err(hdev, "Can't alloc device\n"); 1182 hid_err(hdev, "Can't alloc device\n");