Skip to content
Commit 906faa4e authored by John Keeping's avatar John Keeping Committed by Greg Kroah-Hartman
Browse files

Input: ili210x - fix ili251x_read_touch_data() return value

[ Upstream commit 9f0fad03 ]

The caller of this function treats all non-zero values as an error, so
the return value of i2c_master_recv() cannot be returned directly.

This fixes touch reporting when there are more than 6 active touches.

Fixes: ef536abd

 ("Input: ili210x - define and use chip operations structure")
Signed-off-by: default avatarJohn Keeping <jkeeping@inmusicbrands.com>
Link: https://lore.kernel.org/r/20240523085624.2295988-1-jkeeping@inmusicbrands.com
Signed-off-by: default avatarDmitry Torokhov <dmitry.torokhov@gmail.com>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 75afd872
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment