Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 281185
b: refs/heads/master
c: c1fcc4c
h: refs/heads/master
i:
  281183: d4784d4
v: v3
  • Loading branch information
Martyn Welch authored and Greg Kroah-Hartman committed Nov 30, 2011
1 parent c8bf887 commit b33ddbc
Show file tree
Hide file tree
Showing 2 changed files with 8 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: 6d3ff1cc99eb869af040e34c0bbe3035cc5c203b
refs/heads/master: c1fcc4c9bd50d2d29bfaeb888af7de246343235d
9 changes: 7 additions & 2 deletions trunk/drivers/staging/vme/devices/vme_pio2_gpio.c
Original file line number Diff line number Diff line change
Expand Up @@ -159,9 +159,14 @@ int pio2_gpio_reset(struct pio2_card *card)
}

/* Set input interrupt masks */
for (i = 0; i < 8; i++) {
for (i = 0; i < 4; i++) {
retval = vme_master_write(card->window, &data, 1,
PIO2_REGS_INT_MASK[i * 2]);
if (retval < 0)
return retval;

retval = vme_master_write(card->window, &data, 1,
PIO2_REGS_INT_MASK[i]);
PIO2_REGS_INT_MASK[(i * 2) + 1]);
if (retval < 0)
return retval;

Expand Down

0 comments on commit b33ddbc

Please sign in to comment.