From: David Herrmann Date: Thu, 17 Nov 2011 13:12:14 +0000 (+0100) Subject: HID: wiimote: Enable NO_INIT_REPORTS quirk X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=90120d66974ecf22c32d8cbb2347097ce4144403;p=linux-beck.git 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 Signed-off-by: Jiri Kosina --- 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");