Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 161270
b: refs/heads/master
c: 703490f
h: refs/heads/master
v: v3
  • Loading branch information
Richard Röjfors authored and Dmitry Torokhov committed Jul 26, 2009
1 parent 6cd97c2 commit c401432
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 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: cad065fd1e95003444e8528f801f52164cb78561
refs/heads/master: 703490ff7eaff03e412683da3d8367b5190a71ca
5 changes: 3 additions & 2 deletions trunk/drivers/input/touchscreen/tsc2007.c
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ static int tsc2007_read_values(struct tsc2007 *tsc)
tsc->tc.z1 = tsc2007_xfer(tsc, READ_Z1);
tsc->tc.z2 = tsc2007_xfer(tsc, READ_Z2);

/* power down */
/* Prepare for next touch reading - power down ADC, enable PENIRQ */
tsc2007_xfer(tsc, PWRDOWN);

return 0;
Expand Down Expand Up @@ -311,7 +311,8 @@ static int __devinit tsc2007_probe(struct i2c_client *client,

i2c_set_clientdata(client, ts);

tsc2007_read_values(ts);
/* Prepare for touch readings - power down ADC and enable PENIRQ */
tsc2007_xfer(ts, PWRDOWN);

return 0;

Expand Down

0 comments on commit c401432

Please sign in to comment.