diff options
| author | H Hartley Sweeten <hsweeten@visionengravers.com> | 2016-03-24 01:37:00 +0300 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-03-28 17:30:36 +0300 |
| commit | d87f5e90585a8b8646c3e9fe92d4c47716f5e19d (patch) | |
| tree | 17cea8f1777d8d17d6f4c9231ba1de488fde2385 /tools/perf/scripts/python | |
| parent | a19b9b476ae3612e6c61c60e7fad7c8974158ef9 (diff) | |
| download | linux-d87f5e90585a8b8646c3e9fe92d4c47716f5e19d.tar.xz | |
staging: comedi: ni_tio: validate clock source
Refactor the functions that determine the clock source bits so that they
return -EINVAL if the clock source is invalid. Pass the errno back to
ni_tio_insn_config().
Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Reviewed-by: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
