Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 281016
b: refs/heads/master
c: 5ae8f44
h: refs/heads/master
v: v3
  • Loading branch information
Sasha Levin authored and Greg Kroah-Hartman committed Nov 27, 2011
1 parent 2953f03 commit bd6ee9b
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: 55e4390cb04e8b0fbae8983c3494c9e24132db1b
refs/heads/master: 5ae8f440909dc7fddccf7f408adbacf308049691
4 changes: 4 additions & 0 deletions trunk/drivers/staging/iio/iio_dummy_evgen.c
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,10 @@ static int iio_dummy_evgen_create(void)
int iio_dummy_evgen_get_irq(void)
{
int i, ret = 0;

if (iio_evgen == NULL)
return -ENODEV;

mutex_lock(&iio_evgen->lock);
for (i = 0; i < IIO_EVENTGEN_NO; i++)
if (iio_evgen->inuse[i] == false) {
Expand Down

0 comments on commit bd6ee9b

Please sign in to comment.