summaryrefslogtreecommitdiffstats
path: root/drivers/input/keyboard
diff options
context:
space:
mode:
authorKlaus Goger <klaus.goger@theobroma-systems.com>2014-09-08 14:45:30 -0700
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2014-09-08 14:58:13 -0700
commit1df9029827a2e393a6e318e702049ad3014b7a1a (patch)
tree3ea85b819956df68e71cfaa627537b43e7bfbb18 /drivers/input/keyboard
parent01d4cd5c44ad471b75de4b0a235765881f6cde45 (diff)
downloadlinux-1df9029827a2e393a6e318e702049ad3014b7a1a.tar.bz2
Input: cap1106 - fix register definition
Use the correct register address for Calibration Active and Interrupt Enable. Signed-off-by: Klaus Goger <klaus.goger@theobroma-systems.com> Acked-by: Daniel Mack <zonque@gmail.com> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'drivers/input/keyboard')
-rw-r--r--drivers/input/keyboard/cap1106.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/input/keyboard/cap1106.c b/drivers/input/keyboard/cap1106.c
index 180b184ab90f..d70b65a14ced 100644
--- a/drivers/input/keyboard/cap1106.c
+++ b/drivers/input/keyboard/cap1106.c
@@ -33,8 +33,8 @@
#define CAP1106_REG_SENSOR_CONFIG 0x22
#define CAP1106_REG_SENSOR_CONFIG2 0x23
#define CAP1106_REG_SAMPLING_CONFIG 0x24
-#define CAP1106_REG_CALIBRATION 0x25
-#define CAP1106_REG_INT_ENABLE 0x26
+#define CAP1106_REG_CALIBRATION 0x26
+#define CAP1106_REG_INT_ENABLE 0x27
#define CAP1106_REG_REPEAT_RATE 0x28
#define CAP1106_REG_MT_CONFIG 0x2a
#define CAP1106_REG_MT_PATTERN_CONFIG 0x2b