diff options
Diffstat (limited to 'drivers/hid/hid-thingm.c')
-rw-r--r-- | drivers/hid/hid-thingm.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/hid/hid-thingm.c b/drivers/hid/hid-thingm.c index 99342cfa0ea2..a97c78845f7b 100644 --- a/drivers/hid/hid-thingm.c +++ b/drivers/hid/hid-thingm.c | |||
@@ -48,8 +48,8 @@ static int blink1_send_command(struct blink1_data *data, | |||
48 | buf[0], buf[1], buf[2], buf[3], buf[4], | 48 | buf[0], buf[1], buf[2], buf[3], buf[4], |
49 | buf[5], buf[6], buf[7], buf[8]); | 49 | buf[5], buf[6], buf[7], buf[8]); |
50 | 50 | ||
51 | ret = data->hdev->hid_output_raw_report(data->hdev, buf, | 51 | ret = hid_hw_raw_request(data->hdev, buf[0], buf, BLINK1_CMD_SIZE, |
52 | BLINK1_CMD_SIZE, HID_FEATURE_REPORT); | 52 | HID_FEATURE_REPORT, HID_REQ_SET_REPORT); |
53 | 53 | ||
54 | return ret < 0 ? ret : 0; | 54 | return ret < 0 ? ret : 0; |
55 | } | 55 | } |