]> git.ipfire.org Git - thirdparty/linux.git/commit
Input: iqs5xx - simplify parsing of firmware blob
authorDmitry Torokhov <dmitry.torokhov@gmail.com>
Tue, 29 Apr 2025 00:53:02 +0000 (17:53 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Wed, 25 Mar 2026 04:14:52 +0000 (21:14 -0700)
commit3b5e7a62651ec2c1a8b515ffec14cd7262dda4a7
tree0c506c39c93e2d7faf3f45bf652605eaab506e4b
parent582f32aa89e66ab1e16aab157fdd483b5acc86fa
Input: iqs5xx - simplify parsing of firmware blob

Do not define or use iqs5xx_ihex_rec structure: the original code was
using just a couple of fields in it and instead used it to calculate
offset to record data. The data field was actually reserving space for
checksum.

Instead iterate through fields and advance pointer explicitly.

Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/touchscreen/iqs5xx.c