Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 58490
b: refs/heads/master
c: 5ec1f7f
h: refs/heads/master
v: v3
  • Loading branch information
Andi Drebes authored and Dmitry Torokhov committed Jul 10, 2007
1 parent f25e2dd commit 1c6b821
Show file tree
Hide file tree
Showing 2 changed files with 3 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: 7ecfbfd3d000a5d6787cf3369228e7f0082b8758
refs/heads/master: 5ec1f7f3e4a4896062dc6a64d38036588733bc23
4 changes: 2 additions & 2 deletions trunk/drivers/input/joystick/grip_mp.c
Original file line number Diff line number Diff line change
Expand Up @@ -320,10 +320,10 @@ static int multiport_io(struct gameport* gameport, int sendflags, int sendcode,

static int dig_mode_start(struct gameport *gameport, u32 *packet)
{
int i, seq_len = sizeof(init_seq)/sizeof(int);
int i;
int flags, tries = 0, bads = 0;

for (i = 0; i < seq_len; i++) { /* Send magic sequence */
for (i = 0; i < ARRAY_SIZE(init_seq); i++) { /* Send magic sequence */
if (init_seq[i])
gameport_trigger(gameport);
udelay(GRIP_INIT_DELAY);
Expand Down

0 comments on commit 1c6b821

Please sign in to comment.