summaryrefslogtreecommitdiff
path: root/include/linux/framer/framer.h
diff options
context:
space:
mode:
authorMaxim Levitsky <mlevitsk@redhat.com>2024-03-21 10:19:19 -0400
committerAndi Shyti <andi.shyti@kernel.org>2024-03-26 00:47:08 +0100
commitd1ef7a9ca867ab5c161d1647b2a8ec93a2ea155d (patch)
treec4e2e8b36ad6d04876ceb42ba9b552ab3c5b6435 /include/linux/framer/framer.h
parent4cece764965020c22cff7665b18a012006359095 (diff)
i2c: i801: Fix a refactoring that broke a touchpad on Lenovo P1
Commit 857cc04cdf50 ("i2c: i801: Add helper i801_get_block_len") introduced a slight functional change: the status variable is now overwritten with the length of an SMBUS tranasaction, even in case of success. This breaks the touchpad on at least my Lenovo P1: rmi4_physical rmi4-00: Read PDT entry at 0x00e9 failed, code: -6. rmi4_physical rmi4-00: RMI initial reset failed! Continuing in spite of this. rmi4_physical rmi4-00: Read PDT entry at 0x00e9 failed, code: -6. rmi4_physical rmi4-00: IRQ counting failed with code -6. Fixes: 857cc04cdf50 ("i2c: i801: Add helper i801_get_block_len") Signed-off-by: Maxim Levitsky <mlevitsk@redhat.com> Reviewed-by: Heiner Kallweit <hkallweit1@gmail.com> Signed-off-by: Andi Shyti <andi.shyti@kernel.org>
Diffstat (limited to 'include/linux/framer/framer.h')
0 files changed, 0 insertions, 0 deletions