projects
/
deliverable
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch 'trivial' of git://git.kernel.org/pub/scm/linux/kernel/git/mmarek/kbuild
[deliverable/linux.git]
/
drivers
/
iio
/
inkern.c
diff --git
a/drivers/iio/inkern.c
b/drivers/iio/inkern.c
index e2aded04996bb71c0f7cbabdc94ab9d14b9dc5e9..b5afc2ff34fd5c5f58d0c83e3d1538a3d901acac 100644
(file)
--- a/
drivers/iio/inkern.c
+++ b/
drivers/iio/inkern.c
@@
-198,11
+198,12
@@
struct iio_channel *iio_channel_get_all(const char *name)
iio_device_get(chans[mapind].indio_dev);
mapind++;
}
- mutex_unlock(&iio_map_list_lock);
if (mapind == 0) {
ret = -ENODEV;
goto error_free_chans;
}
+ mutex_unlock(&iio_map_list_lock);
+
return chans;
error_free_chans:
This page took
0.024751 seconds
and
5
git commands to generate.