OSDN Git Service

Input: edt-ft5x06 - unify the crc check
authorDario Binacchi <dario.binacchi@amarulasolutions.com>
Mon, 3 Apr 2023 04:36:33 +0000 (21:36 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Mon, 3 Apr 2023 04:38:03 +0000 (21:38 -0700)
commit079e60a53c25aeb1920e783fa7f7390eabb6afc0
treecadad36d5aae60e2795e763b560ebe59c90266f9
parent9dfd9708ffba1e7969af5e4ecda660151146de98
Input: edt-ft5x06 - unify the crc check

With this patch, the CRC is always verified by the same function, even in
the case of accessing registers where the number of bytes is minimal.

Signed-off-by: Dario Binacchi <dario.binacchi@amarulasolutions.com>
Link: https://lore.kernel.org/r/20230402200951.1032513-9-dario.binacchi@amarulasolutions.com
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/touchscreen/edt-ft5x06.c