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>
This commit is contained in:
parent
130a69b9eb
commit
90120d6697
|
@ -1175,6 +1175,8 @@ static int wiimote_hid_probe(struct hid_device *hdev,
|
||||||
struct wiimote_data *wdata;
|
struct wiimote_data *wdata;
|
||||||
int ret;
|
int ret;
|
||||||
|
|
||||||
|
hdev->quirks |= HID_QUIRK_NO_INIT_REPORTS;
|
||||||
|
|
||||||
wdata = wiimote_create(hdev);
|
wdata = wiimote_create(hdev);
|
||||||
if (!wdata) {
|
if (!wdata) {
|
||||||
hid_err(hdev, "Can't alloc device\n");
|
hid_err(hdev, "Can't alloc device\n");
|
||||||
|
|
Loading…
Reference in New Issue