Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 348715
b: refs/heads/master
c: 0ce2fda
h: refs/heads/master
i:
  348713: 6a0a69d
  348711: c202c15
v: v3
  • Loading branch information
Axel Lin authored and Jonathan Cameron committed Dec 27, 2012
1 parent f59c1e6 commit 2e80b04
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: 7e2dcc69824288916b55f90cd6db4992a0d95374
refs/heads/master: 0ce2fdaa97c6a8d84e9fce3d920a45a493145623
6 changes: 5 additions & 1 deletion trunk/drivers/iio/dac/ad5504.c
Original file line number Diff line number Diff line change
Expand Up @@ -296,7 +296,11 @@ static int __devinit ad5504_probe(struct spi_device *spi)
if (ret)
goto error_put_reg;

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

voltage_uv = ret;
}

spi_set_drvdata(spi, indio_dev);
Expand Down

0 comments on commit 2e80b04

Please sign in to comment.