Skip to content

Commit

Permalink
Fix some typos
Browse files Browse the repository at this point in the history
  • Loading branch information
StollD committed Jan 24, 2023
1 parent 490269b commit 8abe268
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/control.h
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ static inline int ipts_control_refill_buffer(struct ipts_context *ipts, u32 buff
{
/*
* IPTS expects structured data in the feedback buffer matching the buffer that will be
+ refilled. We don't know what that data looks like, so we just keep the buffer empty.
* refilled. We don't know what that data looks like, so we just keep the buffer empty.
* This results in an INVALID_PARAMS error, but the buffer gets refilled without an issue.
* Sending a minimal structure with the buffer ID fixes the error, but breaks refilling
* the buffers on some devices.
Expand Down
2 changes: 1 addition & 1 deletion src/spec-device.h
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ static_assert(sizeof(struct ipts_command) == 324);
/**
* enum ipts_mode - Configures what data the device produces and how its sent.
* @IPTS_MODE_EVENT: The device will send an event once a buffer was filled.
* Older device will return singletouch data in this mode.
* Older devices will return singletouch data in this mode.
* @IPTS_MODE_DOORBELL: The device will notify the driver by incrementing the doorbell value.
* Older devices will return multitouch data in this mode.
*/
Expand Down

0 comments on commit 8abe268

Please sign in to comment.