Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 268853
b: refs/heads/master
c: 75bb23a
h: refs/heads/master
i:
  268851: 409411d
v: v3
  • Loading branch information
Lars-Peter Clausen authored and Greg Kroah-Hartman committed Oct 19, 2011
1 parent 5720912 commit c37f35d
Show file tree
Hide file tree
Showing 2 changed files with 2 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: f1a61a8888afb9c21bb7efdd25f2755b01f065d3
refs/heads/master: 75bb23a2150e385230d1db52065641ca7cef63d3
2 changes: 1 addition & 1 deletion trunk/drivers/staging/iio/dac/ad5791.c
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@ static int ad5791_read_raw(struct iio_dev *indio_dev,
return IIO_VAL_INT;
case (1 << IIO_CHAN_INFO_SCALE_SHARED):
*val = 0;
*val2 = (st->vref_mv * 1000) >> chan->scan_type.realbits;
*val2 = (((u64)st->vref_mv) * 1000000ULL) >> chan->scan_type.realbits;
return IIO_VAL_INT_PLUS_MICRO;
case (1 << IIO_CHAN_INFO_OFFSET_SHARED):
val64 = (((u64)st->vref_neg_mv) << chan->scan_type.realbits);
Expand Down

0 comments on commit c37f35d

Please sign in to comment.