summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorH Hartley Sweeten <hsweeten@visionengravers.com>2016-03-23 15:37:00 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-03-28 07:30:36 -0700
commitd87f5e90585a8b8646c3e9fe92d4c47716f5e19d (patch)
tree17cea8f1777d8d17d6f4c9231ba1de488fde2385 /tools/perf/scripts/python
parenta19b9b476ae3612e6c61c60e7fad7c8974158ef9 (diff)
downloadkernel-d87f5e90585a8b8646c3e9fe92d4c47716f5e19d.tar.gz
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