Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 304029
b: refs/heads/master
c: eda70f1
h: refs/heads/master
i:
  304027: cca34b3
v: v3
  • Loading branch information
Dan Carpenter authored and Greg Kroah-Hartman committed Apr 18, 2012
1 parent c33bad9 commit 6c5d64d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 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: 8f1e12512e9f1276b68c8b14a60961658c73336f
refs/heads/master: eda70f1dfc9e5165b9413dbf1ccb5c108f26a18c
4 changes: 3 additions & 1 deletion trunk/drivers/w1/slaves/w1_ds28e04.c
Original file line number Diff line number Diff line change
Expand Up @@ -309,8 +309,10 @@ static ssize_t w1_f1C_write_pio(struct file *filp, struct kobject *kobj,
mutex_lock(&sl->master->mutex);

/* Write the PIO data */
if (w1_reset_select_slave(sl))
if (w1_reset_select_slave(sl)) {
mutex_unlock(&sl->master->mutex);
return -1;
}

/* set bit 7..2 to value '1' */
*buf = *buf | 0xFC;
Expand Down

0 comments on commit 6c5d64d

Please sign in to comment.