Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 325356
b: refs/heads/master
c: 610a407
h: refs/heads/master
v: v3
  • Loading branch information
Lars-Peter Clausen authored and Jonathan Cameron committed Sep 15, 2012
1 parent 51bcf8e commit b885167
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: 7a28fe3c93d6cd920c84678a1bf45af8b4248577
refs/heads/master: 610a407cdc5a8ab5358fb253b3c5457452ff1d75
2 changes: 1 addition & 1 deletion trunk/drivers/staging/iio/adc/ad7476.c
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ static int ad7476_scan_direct(struct ad7476_state *st)
if (ret)
return ret;

return (st->data[0] << 8) | st->data[1];
return be16_to_cpup((__be16 *)st->data);
}

static int ad7476_read_raw(struct iio_dev *indio_dev,
Expand Down

0 comments on commit b885167

Please sign in to comment.