Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 74610
b: refs/heads/master
c: 4670df8
h: refs/heads/master
v: v3
  • Loading branch information
Ben Gardner authored and Linus Torvalds committed Dec 5, 2007
1 parent 591f485 commit c66e6e6
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: f1dad166e88a5ddca0acf8f11dea0e2bd92d8bf3
refs/heads/master: 4670df831cb479ba57dd0fa0b8a9eb88cc7129be
5 changes: 5 additions & 0 deletions trunk/drivers/char/cs5535_gpio.c
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,11 @@ static ssize_t cs5535_gpio_write(struct file *file, const char __user *data,
for (j = 0; j < ARRAY_SIZE(rm); j++) {
if (c == rm[j].on) {
outl(m1, base + rm[j].wr_offset);
/* If enabling output, turn off AUX 1 and AUX 2 */
if (c == 'O') {
outl(m0, base + 0x10);
outl(m0, base + 0x14);
}
break;
} else if (c == rm[j].off) {
outl(m0, base + rm[j].wr_offset);
Expand Down

0 comments on commit c66e6e6

Please sign in to comment.