diff options
author | David Herrmann <dh.herrmann@googlemail.com> | 2011-11-17 14:12:14 +0100 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2011-11-22 23:11:34 +0100 |
commit | 90120d66974ecf22c32d8cbb2347097ce4144403 (patch) | |
tree | 2079a1db82a048f1274e33839eb61b921526913c /drivers | |
parent | HID: wiimote: Remove module version number (diff) | |
download | linux-90120d66974ecf22c32d8cbb2347097ce4144403.tar.xz 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')
-rw-r--r-- | drivers/hid/hid-wiimote-core.c | 2 |
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"); |