diff options
author | Hartmut Knaack <knaack.h@gmx.de> | 2015-05-31 15:39:58 +0300 |
---|---|---|
committer | Jonathan Cameron <jic23@kernel.org> | 2015-05-31 19:42:32 +0300 |
commit | 8e926134ef15267f65ddfc7389c8078234610295 (patch) | |
tree | 866310be47f3ce9c7b2045eeafdf33d750825462 /tools/iio/iio_utils.c | |
parent | e83a47cf6a5bdbd3d5677db13ae4df22f5e24b08 (diff) | |
download | linux-8e926134ef15267f65ddfc7389c8078234610295.tar.xz |
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