Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 317418
b: refs/heads/master
c: f5b81dd
h: refs/heads/master
v: v3
  • Loading branch information
Lars-Peter Clausen authored and Greg Kroah-Hartman committed Jun 19, 2012
1 parent 5348803 commit 9d5547a
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: 493b67b73c7f575058acec61903a2cb128207106
refs/heads/master: f5b81ddd12da71bd00b2963203c23ff929e0c182
3 changes: 3 additions & 0 deletions trunk/drivers/iio/industrialio-buffer.c
Original file line number Diff line number Diff line change
Expand Up @@ -285,6 +285,9 @@ int iio_buffer_register(struct iio_dev *indio_dev,
if (channels) {
/* new magic */
for (i = 0; i < num_channels; i++) {
if (channels[i].scan_index < 0)
continue;

/* Establish necessary mask length */
if (channels[i].scan_index >
(int)indio_dev->masklength - 1)
Expand Down

0 comments on commit 9d5547a

Please sign in to comment.