summaryrefslogtreecommitdiff
path: root/drivers/iio/inkern.c
diff options
context:
space:
mode:
authorJonathan Cameron <jic23@kernel.org>2016-01-01 21:05:34 +0300
committerJonathan Cameron <jic23@kernel.org>2016-01-16 16:06:33 +0300
commit9d0be85d4e2cfa2519ae16efe7ff4a7150c43c0b (patch)
tree2954d7e4f5c3aec4eb83b26ef27e5f7e72052feb /drivers/iio/inkern.c
parentfa34e6dd44d7c02c8a8468ce4a52a7506f907bef (diff)
downloadlinux-9d0be85d4e2cfa2519ae16efe7ff4a7150c43c0b.tar.xz
iio:adc:ti_am335x_adc Fix buffered mode by identifying as software buffer.
Whilst this part has a hardware buffer, the identifcation that IIO cares about is the userspace facing end. It this case we push individual elements from the hardware fifo into the software interface (specifically a kfifo) rather than providing direct reads through to a hardware buffer (as we still do in the sca3000 for example). Technically the original specification as a hardware buffer could be considered wrong, but it didn't matter until the patch listed below. Result is that any attempt to enable the buffer will return -EINVAL Fixes: 225d59adf1c8 ("iio: Specify supported modes for buffers") Cc: <Stable@vger.kernel.org> Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'drivers/iio/inkern.c')
0 files changed, 0 insertions, 0 deletions