diff options
| -rw-r--r-- | drivers/input/sparse-keymap.c | 1 | ||||
| -rw-r--r-- | drivers/input/touchscreen/ar1021_i2c.c | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/drivers/input/sparse-keymap.c b/drivers/input/sparse-keymap.c index bb0349fa64bc..fd03e55768c9 100644 --- a/drivers/input/sparse-keymap.c +++ b/drivers/input/sparse-keymap.c | |||
| @@ -255,6 +255,7 @@ void sparse_keymap_report_entry(struct input_dev *dev, const struct key_entry *k | |||
| 255 | 255 | ||
| 256 | case KE_VSW: | 256 | case KE_VSW: |
| 257 | input_report_switch(dev, ke->sw.code, value); | 257 | input_report_switch(dev, ke->sw.code, value); |
| 258 | input_sync(dev); | ||
| 258 | break; | 259 | break; |
| 259 | } | 260 | } |
| 260 | } | 261 | } |
diff --git a/drivers/input/touchscreen/ar1021_i2c.c b/drivers/input/touchscreen/ar1021_i2c.c index f9dcbd63e598..b35b640fdadf 100644 --- a/drivers/input/touchscreen/ar1021_i2c.c +++ b/drivers/input/touchscreen/ar1021_i2c.c | |||
| @@ -117,6 +117,7 @@ static int ar1021_i2c_probe(struct i2c_client *client, | |||
| 117 | input->open = ar1021_i2c_open; | 117 | input->open = ar1021_i2c_open; |
| 118 | input->close = ar1021_i2c_close; | 118 | input->close = ar1021_i2c_close; |
| 119 | 119 | ||
| 120 | __set_bit(INPUT_PROP_DIRECT, input->propbit); | ||
| 120 | input_set_capability(input, EV_KEY, BTN_TOUCH); | 121 | input_set_capability(input, EV_KEY, BTN_TOUCH); |
| 121 | input_set_abs_params(input, ABS_X, 0, AR1021_MAX_X, 0, 0); | 122 | input_set_abs_params(input, ABS_X, 0, AR1021_MAX_X, 0, 0); |
| 122 | input_set_abs_params(input, ABS_Y, 0, AR1021_MAX_Y, 0, 0); | 123 | input_set_abs_params(input, ABS_Y, 0, AR1021_MAX_Y, 0, 0); |
