Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 188055
b: refs/heads/master
c: 04b4b88
h: refs/heads/master
i:
  188053: cb7ce7b
  188051: 1da46d9
  188047: 18906ae
v: v3
  • Loading branch information
Vadim Zaliva authored and Dmitry Torokhov committed Mar 11, 2010
1 parent c1addae commit e30fb0f
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: 4eb6f91b95e7618eae0103b6cba7c7f01f9d40f3
refs/heads/master: 04b4b88cca0ebe3813b4b6f014fb6a0db380b137
6 changes: 3 additions & 3 deletions trunk/drivers/input/mouse/appletouch.c
Original file line number Diff line number Diff line change
Expand Up @@ -205,8 +205,8 @@ struct atp {
bool overflow_warned;
int x_old; /* last reported x/y, */
int y_old; /* used for smoothing */
signed char xy_cur[ATP_XSENSORS + ATP_YSENSORS];
signed char xy_old[ATP_XSENSORS + ATP_YSENSORS];
u8 xy_cur[ATP_XSENSORS + ATP_YSENSORS];
u8 xy_old[ATP_XSENSORS + ATP_YSENSORS];
int xy_acc[ATP_XSENSORS + ATP_YSENSORS];
int idlecount; /* number of empty packets */
struct work_struct work;
Expand Down Expand Up @@ -531,7 +531,7 @@ static void atp_complete_geyser_1_2(struct urb *urb)

for (i = 0; i < ATP_XSENSORS + ATP_YSENSORS; i++) {
/* accumulate the change */
signed char change = dev->xy_old[i] - dev->xy_cur[i];
int change = dev->xy_old[i] - dev->xy_cur[i];
dev->xy_acc[i] -= change;

/* prevent down drifting */
Expand Down

0 comments on commit e30fb0f

Please sign in to comment.