diff options
| author | Linus Walleij <[email protected]> | 2015-08-11 11:56:40 +0200 |
|---|---|---|
| committer | Jonathan Cameron <[email protected]> | 2015-08-16 10:51:26 +0100 |
| commit | 3f9059b71791cf0e57a4879594f0066237976943 (patch) | |
| tree | c0209f19fefdc8fa41b23ab201324df3ef2794f8 /tools/perf/scripts/python | |
| parent | 53dabafe1b17411de82b6c4560145cf396cbb564 (diff) | |
iio: percolate error if event fd fails
This makes the error from iio_event_getfd() percolate up
to userspace properly so we can know for sure there is no
events on this device (-ENODEV returned). Before this patch
we would bail out looking for the unsupported events on the
erroneous (negative) file descriptor.
Signed-off-by: Linus Walleij <[email protected]>
Acked-by: Daniel Baluta <[email protected]>
Signed-off-by: Jonathan Cameron <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions