Message ID | 1287003458-3791-3-git-send-email-ospite@studenti.unina.it (mailing list archive) |
---|---|
State | Rejected |
Headers | show |
diff --git a/drivers/hid/hid-sony.c b/drivers/hid/hid-sony.c index d61f268..7b0c70a 100644 --- a/drivers/hid/hid-sony.c +++ b/drivers/hid/hid-sony.c @@ -110,8 +110,10 @@ static int sony_probe(struct hid_device *hdev, const struct hid_device_id *id) goto err_free; } - if (sc->quirks & SIXAXIS_CONTROLLER_USB) + if (sc->quirks & SIXAXIS_CONTROLLER_USB) { ret = sixaxis_set_operational_usb(hdev); + hdev->quirks |= HID_QUIRK_FORCE_OUT_CONTROL_EP; + } else if (sc->quirks & SIXAXIS_CONTROLLER_BT) ret = sixaxis_set_operational_bt(hdev); else