summaryrefslogtreecommitdiffstats
path: root/drivers/hid/hid-wiimote-core.c
diff options
context:
space:
mode:
authorDavid Herrmann <dh.herrmann@googlemail.com>2011-11-17 14:12:14 +0100
committerJiri Kosina <jkosina@suse.cz>2011-11-22 23:11:34 +0100
commit90120d66974ecf22c32d8cbb2347097ce4144403 (patch)
tree2079a1db82a048f1274e33839eb61b921526913c /drivers/hid/hid-wiimote-core.c
parent130a69b9eb385566d861035b47779f4f2b0df14c (diff)
downloadblackbird-op-linux-90120d66974ecf22c32d8cbb2347097ce4144403.tar.gz
blackbird-op-linux-90120d66974ecf22c32d8cbb2347097ce4144403.zip
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,
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");
OpenPOWER on IntegriCloud