Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 324720
b: refs/heads/master
c: 4b8bf03
h: refs/heads/master
v: v3
  • Loading branch information
Marc Dietrich authored and Greg Kroah-Hartman committed Sep 4, 2012
1 parent ef46b01 commit 579d42a
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: 4344379f63d3bf16d4f2cb3d6b3f3be12704173f
refs/heads/master: 4b8bf03d7f775271c2016e76011b113bc5f83c14
4 changes: 3 additions & 1 deletion trunk/drivers/staging/nvec/nvec.c
Original file line number Diff line number Diff line change
Expand Up @@ -294,8 +294,10 @@ struct nvec_msg *nvec_write_sync(struct nvec_chip *nvec,

nvec->sync_write_pending = (data[1] << 8) + data[0];

if (nvec_write_async(nvec, data, size) < 0)
if (nvec_write_async(nvec, data, size) < 0) {
mutex_unlock(&nvec->sync_write_mutex);
return NULL;
}

dev_dbg(nvec->dev, "nvec_sync_write: 0x%04x\n",
nvec->sync_write_pending);
Expand Down

0 comments on commit 579d42a

Please sign in to comment.