diff options
Diffstat (limited to 'drivers/hid/hid-sony.c')
-rw-r--r-- | drivers/hid/hid-sony.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/hid/hid-sony.c b/drivers/hid/hid-sony.c index 12354055d474..3930acbdee98 100644 --- a/drivers/hid/hid-sony.c +++ b/drivers/hid/hid-sony.c | |||
@@ -706,7 +706,8 @@ static int sixaxis_set_operational_usb(struct hid_device *hdev) | |||
706 | if (!buf) | 706 | if (!buf) |
707 | return -ENOMEM; | 707 | return -ENOMEM; |
708 | 708 | ||
709 | ret = hdev->hid_get_raw_report(hdev, 0xf2, buf, 17, HID_FEATURE_REPORT); | 709 | ret = hid_hw_raw_request(hdev, 0xf2, buf, 17, HID_FEATURE_REPORT, |
710 | HID_REQ_GET_REPORT); | ||
710 | 711 | ||
711 | if (ret < 0) | 712 | if (ret < 0) |
712 | hid_err(hdev, "can't set operational mode\n"); | 713 | hid_err(hdev, "can't set operational mode\n"); |