commit | 8e926134ef15267f65ddfc7389c8078234610295 | [log] [tgz] |
---|---|---|
author | Hartmut Knaack <knaack.h@gmx.de> | Sun May 31 14:39:58 2015 +0200 |
committer | Jonathan Cameron <jic23@kernel.org> | Sun May 31 17:42:32 2015 +0100 |
tree | 866310be47f3ce9c7b2045eeafdf33d750825462 | |
parent | e83a47cf6a5bdbd3d5677db13ae4df22f5e24b08 [diff] |
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>