git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
36ce0c1
)
iio: dac: ad5380: Don't set error code to st->vref
author
Axel Lin
<axel.lin@ingics.com>
Fri, 14 Dec 2012 07:48:00 +0000
(07:48 +0000)
committer
Jonathan Cameron
<jic23@kernel.org>
Thu, 27 Dec 2012 11:00:08 +0000
(11:00 +0000)
regulator_get_voltage() may return negative error code.
Add error checking to avoid setting error code to st->vref_uv.
Signed-off-by: Axel Lin <axel.lin@ingics.com>
Acked-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
No differences found