diff options
Diffstat (limited to 'drivers/hid/hid-magicmouse.c')
-rw-r--r-- | drivers/hid/hid-magicmouse.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/hid/hid-magicmouse.c b/drivers/hid/hid-magicmouse.c index 3b43d1cfa936..ecc2cbf300cc 100644 --- a/drivers/hid/hid-magicmouse.c +++ b/drivers/hid/hid-magicmouse.c | |||
@@ -538,8 +538,8 @@ static int magicmouse_probe(struct hid_device *hdev, | |||
538 | * but there seems to be no other way of switching the mode. | 538 | * but there seems to be no other way of switching the mode. |
539 | * Thus the super-ugly hacky success check below. | 539 | * Thus the super-ugly hacky success check below. |
540 | */ | 540 | */ |
541 | ret = hdev->hid_output_raw_report(hdev, feature, sizeof(feature), | 541 | ret = hid_hw_raw_request(hdev, feature[0], feature, sizeof(feature), |
542 | HID_FEATURE_REPORT); | 542 | HID_FEATURE_REPORT, HID_REQ_SET_REPORT); |
543 | if (ret != -EIO && ret != sizeof(feature)) { | 543 | if (ret != -EIO && ret != sizeof(feature)) { |
544 | hid_err(hdev, "unable to request touch data (%d)\n", ret); | 544 | hid_err(hdev, "unable to request touch data (%d)\n", ret); |
545 | goto err_stop_hw; | 545 | goto err_stop_hw; |