Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 376759
b: refs/heads/master
c: 6c5d4c9
h: refs/heads/master
i:
  376757: ed5682a
  376755: ee19f35
  376751: 74a18ba
v: v3
  • Loading branch information
Michael Hennerich authored and Jonathan Cameron committed Jun 4, 2013
1 parent 92a389e commit a392647
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: 2eb3a81eef0510511a3211bb3da560f446a8c8de
refs/heads/master: 6c5d4c96f979611f0165dc825af9e1cea8dd35b9
2 changes: 1 addition & 1 deletion trunk/drivers/iio/inkern.c
Original file line number Diff line number Diff line change
Expand Up @@ -450,7 +450,7 @@ static int iio_convert_raw_to_processed_unlocked(struct iio_channel *chan,
s64 raw64 = raw;
int ret;

ret = iio_channel_read(chan, &offset, NULL, IIO_CHAN_INFO_SCALE);
ret = iio_channel_read(chan, &offset, NULL, IIO_CHAN_INFO_OFFSET);
if (ret == 0)
raw64 += offset;

Expand Down

0 comments on commit a392647

Please sign in to comment.