]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
Input: elants_i2c - fix typo for an attribute to show calibration count
authorJohnny Chuang <johnny.chuang.emc@gmail.com>
Wed, 16 Sep 2020 17:26:57 +0000 (10:26 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 29 Oct 2020 09:08:09 +0000 (10:08 +0100)
[ Upstream commit 93f634069707cfe562c38739f5062feccbe9a834 ]

Fixed typo for command from 0xE0 to 0xD0.

Fixes: cf520c643012 ("Input: elants_i2c - provide an attribute to show calibration count")
Signed-off-by: Johnny Chuang <johnny.chuang.emc@gmail.com>
Link: https://lore.kernel.org/r/1600238783-32303-1-git-send-email-johnny.chuang.emc@gmail.com
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/input/touchscreen/elants_i2c.c

index 5477a5718202ac425c64ac9f3cdfc64f7ff89036..db7f27d4734a9515e8d20aa16c31ed886e725cd6 100644 (file)
@@ -90,7 +90,7 @@
 /* FW read command, 0x53 0x?? 0x0, 0x01 */
 #define E_ELAN_INFO_FW_VER     0x00
 #define E_ELAN_INFO_BC_VER     0x10
-#define E_ELAN_INFO_REK                0xE0
+#define E_ELAN_INFO_REK                0xD0
 #define E_ELAN_INFO_TEST_VER   0xE0
 #define E_ELAN_INFO_FW_ID      0xF0
 #define E_INFO_OSR             0xD6