aboutsummaryrefslogtreecommitdiffstats
path: root/tools/iio/iio_utils.c
diff options
context:
space:
mode:
authorHartmut Knaack <knaack.h@gmx.de>2015-05-31 14:39:58 +0200
committerJonathan Cameron <jic23@kernel.org>2015-05-31 17:42:32 +0100
commit8e926134ef15267f65ddfc7389c8078234610295 (patch)
tree866310be47f3ce9c7b2045eeafdf33d750825462 /tools/iio/iio_utils.c
parenttools:iio:generic_buffer: pass up right error code (diff)
downloadlinux-dev-8e926134ef15267f65ddfc7389c8078234610295.tar.xz
linux-dev-8e926134ef15267f65ddfc7389c8078234610295.zip
tools:iio:generic_buffer: sign-extend and shift data
Refactor process_scan() to handle signed and unsigned data, respect shifts and the data mask for 2, 4 and 8 byte sized scan elements. Signed-off-by: Hartmut Knaack <knaack.h@gmx.de> Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'tools/iio/iio_utils.c')
0 files changed, 0 insertions, 0 deletions