Skip to content

Commit

Permalink
Update IPTS from module repo
Browse files Browse the repository at this point in the history
Changes:
 * Fix swapped parameters in EDS v2

Based on linux-surface/intel-precise-touch@4b5c013

Signed-off-by: Dorian Stoll <dorian.stoll@tmsp.io>
Patchset: ipts
  • Loading branch information
StollD committed Jul 23, 2023
1 parent 675b66e commit aa90b07
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/hid/ipts/eds2.c
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ int ipts_eds2_raw_request(struct ipts_context *ipts, u8 *buffer, size_t size, u8
return -EIO;

if (request_type == HID_REQ_GET_REPORT)
return ipts_eds2_get_feature(ipts, buffer, report_id, size, feedback_type);
return ipts_eds2_get_feature(ipts, buffer, size, report_id, feedback_type);
else
return ipts_eds2_set_feature(ipts, buffer, report_id, size, feedback_type);
return ipts_eds2_set_feature(ipts, buffer, size, report_id, feedback_type);
}

0 comments on commit aa90b07

Please sign in to comment.