summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohnny Chuang <johnny.chuang.emc@gmail.com>2020-09-16 10:26:57 -0700
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2020-09-16 10:38:55 -0700
commit93f634069707cfe562c38739f5062feccbe9a834 (patch)
tree1de5d72df5d7506e9e89ff7e04ce7260fd2730df
parent4238e52cc351e893ebd05e8d7ea97edb3f81d978 (diff)
downloadlinux-93f634069707cfe562c38739f5062feccbe9a834.tar.gz
linux-93f634069707cfe562c38739f5062feccbe9a834.tar.bz2
linux-93f634069707cfe562c38739f5062feccbe9a834.zip
Input: elants_i2c - fix typo for an attribute to show calibration count
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>
-rw-r--r--drivers/input/touchscreen/elants_i2c.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/input/touchscreen/elants_i2c.c b/drivers/input/touchscreen/elants_i2c.c
index c8d7bdd34c7a..50c348297e38 100644
--- a/drivers/input/touchscreen/elants_i2c.c
+++ b/drivers/input/touchscreen/elants_i2c.c
@@ -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