diff options
Diffstat (limited to 'drivers/hid/hid-multitouch.c')
-rw-r--r-- | drivers/hid/hid-multitouch.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/hid/hid-multitouch.c b/drivers/hid/hid-multitouch.c index 7a1ebb867cf4..32258ba60056 100644 --- a/drivers/hid/hid-multitouch.c +++ b/drivers/hid/hid-multitouch.c | |||
@@ -736,7 +736,7 @@ static void mt_set_input_mode(struct hid_device *hdev) | |||
736 | r = re->report_id_hash[td->inputmode]; | 736 | r = re->report_id_hash[td->inputmode]; |
737 | if (r) { | 737 | if (r) { |
738 | r->field[0]->value[td->inputmode_index] = 0x02; | 738 | r->field[0]->value[td->inputmode_index] = 0x02; |
739 | usbhid_submit_report(hdev, r, USB_DIR_OUT); | 739 | hid_hw_request(hdev, r, HID_REQ_SET_REPORT); |
740 | } | 740 | } |
741 | } | 741 | } |
742 | 742 | ||
@@ -761,7 +761,7 @@ static void mt_set_maxcontacts(struct hid_device *hdev) | |||
761 | max = min(fieldmax, max); | 761 | max = min(fieldmax, max); |
762 | if (r->field[0]->value[0] != max) { | 762 | if (r->field[0]->value[0] != max) { |
763 | r->field[0]->value[0] = max; | 763 | r->field[0]->value[0] = max; |
764 | usbhid_submit_report(hdev, r, USB_DIR_OUT); | 764 | hid_hw_request(hdev, r, HID_REQ_SET_REPORT); |
765 | } | 765 | } |
766 | } | 766 | } |
767 | } | 767 | } |