summaryrefslogtreecommitdiff
path: root/tools/iio/iio_utils.h
diff options
context:
space:
mode:
authorMatt Ranostay <mranostay@gmail.com>2016-08-22 15:19:37 -0700
committerJonathan Cameron <jic23@kernel.org>2016-08-29 16:26:41 +0100
commit6356f1b9b7e3ccd24bec93c7ed4e226464f44774 (patch)
tree2a1fbb1065c74096182a4810ad962aaadb328690 /tools/iio/iio_utils.h
parent9d47964bfd471f0dd4c89f28556aec68bffa0020 (diff)
iio: iio-utils: use channel modifier scaling if it exists
Now there are channel modifiers with their own scaling those should be used when possible over the generic channel type scaling. Examples are of IIO_TEMP channel having a generic scaling value, and another having IIO_MOD_TEMP_AMBIENT modifier with another scaling value. Previously the first scaling value for a channel type would be applied to all channels of like type in iio_generic_buffer Signed-off-by: Matt Ranostay <mranostay@gmail.com> Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'tools/iio/iio_utils.h')
0 files changed, 0 insertions, 0 deletions