Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 281235
b: refs/heads/master
c: d666c0d
h: refs/heads/master
i:
  281233: 46d04d1
  281231: 2bd4795
v: v3
  • Loading branch information
Andreas Ruprecht authored and Greg Kroah-Hartman committed Dec 8, 2011
1 parent 9b61f5f commit 108ecfa
Show file tree
Hide file tree
Showing 2 changed files with 5 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: bba42776f5bade198d3bf918689da02acb63dadb
refs/heads/master: d666c0d490d85d35fe6d6d45ba029cf16046dc82
4 changes: 4 additions & 0 deletions trunk/drivers/staging/iio/accel/sca3000_core.c
Original file line number Diff line number Diff line change
Expand Up @@ -389,6 +389,10 @@ sca3000_store_measurement_mode(struct device *dev,
ret = kstrtou8(buf, 10, &val);
if (ret)
goto error_ret;
if (val > 3) {
ret = -EINVAL;
goto error_ret;
}
ret = sca3000_read_data_short(st, SCA3000_REG_ADDR_MODE, 1);
if (ret)
goto error_ret;
Expand Down

0 comments on commit 108ecfa

Please sign in to comment.