Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 174239
b: refs/heads/master
c: ab9122c
h: refs/heads/master
i:
  174237: 55fadd1
  174235: 11e656f
  174231: 0e092a6
  174223: 54d28ef
  174207: 75062c8
v: v3
  • Loading branch information
Nicolas Ferre authored and Dmitry Torokhov committed Nov 20, 2009
1 parent d4bc4df commit bc6a67c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 0c09b2ac35ff7c5f280e5cf8142ad0822f1c93b3
refs/heads/master: ab9122cd3377c9eee85380ea2fe35125c6962a87
6 changes: 3 additions & 3 deletions trunk/drivers/input/touchscreen/atmel_tsadcc.c
Original file line number Diff line number Diff line change
Expand Up @@ -242,12 +242,12 @@ static int __devinit atmel_tsadcc_probe(struct platform_device *pdev)
input_dev->phys = ts_dev->phys;
input_dev->dev.parent = &pdev->dev;

input_dev->evbit[0] = BIT_MASK(EV_KEY) | BIT_MASK(EV_ABS);
input_dev->keybit[BIT_WORD(BTN_TOUCH)] = BIT_MASK(BTN_TOUCH);

__set_bit(EV_ABS, input_dev->evbit);
input_set_abs_params(input_dev, ABS_X, 0, 0x3FF, 0, 0);
input_set_abs_params(input_dev, ABS_Y, 0, 0x3FF, 0, 0);

input_set_capability(input_dev, EV_KEY, BTN_TOUCH);

/* clk_enable() always returns 0, no need to check it */
clk_enable(ts_dev->clk);

Expand Down

0 comments on commit bc6a67c

Please sign in to comment.