On Sun, 13 Sep 2020, Sultan Alsawaf wrote:
From: Sultan Alsawaf <redacted>
This is a squash of the following:
i2c: designware: Fix transfer failures for invalid SMBus block reads
[ .... ]
HID: i2c-hid: Use block reads when possible to save power
[ .... ]
---
Hi Jarkko,
Sorry for the delayed response. Life gets in the way of the things that really
matter, like kernel hacking ;)
I fixed the issue with the i2c block reads on 5.8. I've squashed all 4 of my i2c
commits into this email for simplicity; please apply this patch on either 5.8 or
5.9 (it applies cleanly to both) and let me know if it works with your i2c-hid
touchscreen. If all is well, I will resubmit these patches individually in one
patchset, in a new thread.
Thanks,
Sultan
drivers/hid/i2c-hid/i2c-hid-core.c | 5 ++++-
drivers/i2c/busses/i2c-designware-master.c | 15 +++++++++------
2 files changed, 13 insertions(+), 7 deletions(-)
I believe it makes most sense for this to go through i2c tree as a whole,
so feel free to add
Acked-by: Jiri Kosina [off-list ref]
for the drivers/hid/i2c-hid/i2c-hid-core.c hunk. Thanks,
--
Jiri Kosina
SUSE Labs