Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 348717
b: refs/heads/master
c: 359570a
h: refs/heads/master
i:
  348715: 2e80b04
v: v3
  • Loading branch information
Axel Lin authored and Jonathan Cameron committed Dec 27, 2012
1 parent ee00ad9 commit f15b3e4
Show file tree
Hide file tree
Showing 2 changed files with 6 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: 8434e7856551015650f62afa48e8f9e9b4bf80f2
refs/heads/master: 359570ad3fcfcc3a3031b3a5e01bfb616233eca0
6 changes: 5 additions & 1 deletion trunk/drivers/iio/dac/ad5686.c
Original file line number Diff line number Diff line change
Expand Up @@ -332,7 +332,11 @@ static int __devinit ad5686_probe(struct spi_device *spi)
if (ret)
goto error_put_reg;

voltage_uv = regulator_get_voltage(st->reg);
ret = regulator_get_voltage(st->reg);
if (ret < 0)
goto error_disable_reg;

voltage_uv = ret;
}

st->chip_info =
Expand Down

0 comments on commit f15b3e4

Please sign in to comment.