summaryrefslogtreecommitdiffstats
path: root/include/linux/sh_dma.h
diff options
context:
space:
mode:
authorLars-Peter Clausen2012-09-17 14:17:00 +0200
committerJonathan Cameron2012-09-17 22:48:51 +0200
commit48e44ce0f8810b530fc83a4f5eb67149280d9b82 (patch)
treece32b7a0917edb95fe5b4c3de1edd33e8d0f7ed6 /include/linux/sh_dma.h
parentiio: consumer.h: Fix kernel doc incosistency (diff)
downloadkernel-qcow2-linux-48e44ce0f8810b530fc83a4f5eb67149280d9b82.tar.gz
kernel-qcow2-linux-48e44ce0f8810b530fc83a4f5eb67149280d9b82.tar.xz
kernel-qcow2-linux-48e44ce0f8810b530fc83a4f5eb67149280d9b82.zip
iio:inkern: Add function to read the processed value
Add a function to read a processed value from a channel. The function will first attempt to read the IIO_CHAN_INFO_PROCESSED attribute. If that fails it will read the IIO_CHAN_INFO_RAW attribute and convert the result from a raw value to a processed value. The patch also introduces a function to convert raw value to a processed value and exports it, in case a user needs or wants to do the conversion by itself. Signed-off-by: Lars-Peter Clausen <lars@metafoo.de> Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'include/linux/sh_dma.h')
0 files changed, 0 insertions, 0 deletions