Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 281007
b: refs/heads/master
c: 43c0364
h: refs/heads/master
i:
  281005: cd8e0fc
  281003: 99d73d5
  280999: f1c445c
  280991: dcc3b86
v: v3
  • Loading branch information
Lars-Peter Clausen authored and Greg Kroah-Hartman committed Nov 27, 2011
1 parent ba8cf76 commit 0eda1d3
Show file tree
Hide file tree
Showing 2 changed files with 4 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: 685e010748f64a752a981254101e976d7291d16c
refs/heads/master: 43c0364551d3ca0042f6f6a3da701edf1143d62f
3 changes: 3 additions & 0 deletions trunk/drivers/staging/iio/industrialio-core.c
Original file line number Diff line number Diff line change
Expand Up @@ -790,6 +790,9 @@ static ssize_t iio_ev_value_store(struct device *dev,
unsigned long val;
int ret;

if (!indio_dev->info->write_event_value)
return -EINVAL;

ret = strict_strtoul(buf, 10, &val);
if (ret)
return ret;
Expand Down

0 comments on commit 0eda1d3

Please sign in to comment.