Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 281390
b: refs/heads/master
c: 9631135
h: refs/heads/master
v: v3
  • Loading branch information
Michael Hennerich authored and Greg Kroah-Hartman committed Dec 16, 2011
1 parent 4d9b190 commit 78c280b
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 90b9b2276bdc1a3cdff881a71a652683f6a5d58f
refs/heads/master: 9631135dd9396aca149a3041197bce452fa0ce90
7 changes: 7 additions & 0 deletions trunk/drivers/staging/iio/gyro/adxrs450_core.c
Original file line number Diff line number Diff line change
Expand Up @@ -308,6 +308,13 @@ static int adxrs450_read_raw(struct iio_dev *indio_dev,
*val = t;
ret = IIO_VAL_INT;
break;
case IIO_CHAN_INFO_CALIBBIAS:
ret = adxrs450_spi_read_reg_16(indio_dev, ADXRS450_DNC1, &t);
if (ret)
break;
*val = t;
ret = IIO_VAL_INT;
break;
default:
ret = -EINVAL;
break;
Expand Down

0 comments on commit 78c280b

Please sign in to comment.