Signed-off-by: Kurt Van Dijck <dev.kurt@xxxxxxxxxxxxxxxxxxxxxx> --- drivers/input/keyboard/cap11xx.c | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/drivers/input/keyboard/cap11xx.c b/drivers/input/keyboard/cap11xx.c index b666e9e..cdcc89b9 100644 --- a/drivers/input/keyboard/cap11xx.c +++ b/drivers/input/keyboard/cap11xx.c @@ -117,13 +117,13 @@ enum { { CAP11XX_REG_NOISE_FLAG_STATUS, 0x00 }, { CAP11XX_REG_SENSITIVITY_CONTROL, 0x2f }, { CAP11XX_REG_CONFIG, 0x20 }, - { CAP11XX_REG_SENSOR_ENABLE, 0x3f }, + { CAP11XX_REG_SENSOR_ENABLE, 0xff }, { CAP11XX_REG_SENSOR_CONFIG, 0xa4 }, { CAP11XX_REG_SENSOR_CONFIG2, 0x07 }, { CAP11XX_REG_SAMPLING_CONFIG, 0x39 }, { CAP11XX_REG_CALIBRATION, 0x00 }, - { CAP11XX_REG_INT_ENABLE, 0x3f }, - { CAP11XX_REG_REPEAT_RATE, 0x3f }, + { CAP11XX_REG_INT_ENABLE, 0xff }, + { CAP11XX_REG_REPEAT_RATE, 0xff }, { CAP11XX_REG_MT_CONFIG, 0x80 }, { CAP11XX_REG_MT_PATTERN_CONFIG, 0x00 }, { CAP11XX_REG_MT_PATTERN, 0x3f }, @@ -134,6 +134,8 @@ enum { { CAP11XX_REG_SENSOR_THRESH(3), 0x40 }, { CAP11XX_REG_SENSOR_THRESH(4), 0x40 }, { CAP11XX_REG_SENSOR_THRESH(5), 0x40 }, + { CAP11XX_REG_SENSOR_THRESH(6), 0x40 }, + { CAP11XX_REG_SENSOR_THRESH(7), 0x40 }, { CAP11XX_REG_SENSOR_NOISE_THRESH, 0x01 }, { CAP11XX_REG_STANDBY_CHANNEL, 0x00 }, { CAP11XX_REG_STANDBY_CONFIG, 0x39 }, @@ -157,6 +159,8 @@ static bool cap11xx_volatile_reg(struct device *dev, unsigned int reg) case CAP11XX_REG_SENOR_DELTA(3): case CAP11XX_REG_SENOR_DELTA(4): case CAP11XX_REG_SENOR_DELTA(5): + case CAP11XX_REG_SENOR_DELTA(6): + case CAP11XX_REG_SENOR_DELTA(7): case CAP11XX_REG_PRODUCT_ID: case CAP11XX_REG_MANUFACTURER_ID: case CAP11XX_REG_REVISION: -- 1.8.5.rc3