Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 348896
b: refs/heads/master
c: a02a8c4
h: refs/heads/master
v: v3
  • Loading branch information
Lars-Peter Clausen authored and Jonathan Cameron committed Jan 9, 2013
1 parent 6d89fae commit f0a11f2
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: 7b7a4efe76a8a96b20f7ac8047869f43e65b10e4
refs/heads/master: a02a8c42b588059aa06dff6f614a7afcba12df69
2 changes: 1 addition & 1 deletion trunk/drivers/staging/iio/gyro/adis16080_core.c
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ static int adis16080_spi_read(struct iio_dev *indio_dev,
ret = spi_read(st->us, st->buf, 2);

if (ret == 0)
*val = ((st->buf[0] & 0xF) << 8) | st->buf[1];
*val = sign_extend32(((st->buf[0] & 0xF) << 8) | st->buf[1], 11);
mutex_unlock(&st->buf_lock);

return ret;
Expand Down

0 comments on commit f0a11f2

Please sign in to comment.