diff options
author | John Keeping <jkeeping@inmusicbrands.com> | 2024-05-23 09:56:24 +0100 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2024-06-07 16:35:36 -0700 |
commit | 9f0fad0382124e7e23b3c730fa78818c22c89c0a (patch) | |
tree | 50976871cc2f594e2f768cbee37cc415d8b0050c /drivers/ata | |
parent | 955af6355ddfe35140f9706a635838212a32513b (diff) | |
download | linux-stable-9f0fad0382124e7e23b3c730fa78818c22c89c0a.tar.gz linux-stable-9f0fad0382124e7e23b3c730fa78818c22c89c0a.tar.bz2 linux-stable-9f0fad0382124e7e23b3c730fa78818c22c89c0a.zip |
Input: ili210x - fix ili251x_read_touch_data() return value
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: ef536abd3afd1 ("Input: ili210x - define and use chip operations structure")
Signed-off-by: John Keeping <jkeeping@inmusicbrands.com>
Link: https://lore.kernel.org/r/20240523085624.2295988-1-jkeeping@inmusicbrands.com
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'drivers/ata')
0 files changed, 0 insertions, 0 deletions