Input: elan_i2c - fix detecting IAP version on older controllers
authorJingle Wu <jingle.wu@emc.com.tw>
Thu, 16 Jul 2020 05:02:19 +0000 (22:02 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Sat, 18 Jul 2020 00:36:00 +0000 (17:36 -0700)
commitdf10cc8db1e13cfcbd851e02881e2ef815d21b37
tree03654d68b8c6af3c867b9aa118b5ec0760a07bdb
parent40d8aa97131d16fe880cd48f8faabcd6a45019c4
Input: elan_i2c - fix detecting IAP version on older controllers

Older controllers in bootloader mode need a different command to retrieve
the IAP version.

Signed-off-by: Jingle Wu <jingle.wu@emc.com.tw>
Link: https://lore.kernel.org/r/20200714105641.15151-1-jingle.wu@emc.com.tw
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/mouse/elan_i2c_i2c.c