Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 317310
b: refs/heads/master
c: 17c88eb
h: refs/heads/master
v: v3
  • Loading branch information
Dan Carpenter authored and Greg Kroah-Hartman committed Jun 12, 2012
1 parent 2a2db49 commit 488ccae
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: 03afcf472785a63d720202d28d51852d965a95d9
refs/heads/master: 17c88eb6a09bafb75644b8c37fd65c89c8f49bec
4 changes: 3 additions & 1 deletion trunk/drivers/iio/frequency/ad9523.c
Original file line number Diff line number Diff line change
Expand Up @@ -731,10 +731,12 @@ static int ad9523_reg_access(struct iio_dev *indio_dev,
} else {
ret = ad9523_read(indio_dev, reg | AD9523_R1B);
if (ret < 0)
return ret;
goto out_unlock;
*readval = ret;
ret = 0;
}

out_unlock:
mutex_unlock(&indio_dev->mlock);

return ret;
Expand Down

0 comments on commit 488ccae

Please sign in to comment.