summaryrefslogtreecommitdiffstats
path: root/drivers/staging/iio/adc
diff options
context:
space:
mode:
authorJonathan Cameron2011-10-26 18:27:45 +0200
committerGreg Kroah-Hartman2011-11-27 01:30:31 +0100
commit96e00f110fae862b61f3db9dc25fe8f0f43f77e9 (patch)
treed6639d183446fdc3a57be12e8cec196ef91e5329 /drivers/staging/iio/adc
parentstaging:iio:iio_utils.h: Add missing include (diff)
downloadkernel-qcow2-linux-96e00f110fae862b61f3db9dc25fe8f0f43f77e9.tar.gz
kernel-qcow2-linux-96e00f110fae862b61f3db9dc25fe8f0f43f77e9.tar.xz
kernel-qcow2-linux-96e00f110fae862b61f3db9dc25fe8f0f43f77e9.zip
staging:iio: core. Allow for event chrdev obtaining ioctl if no buffer present.
Logic bug meant the chrdev would fail to open if there was no buffer support in a driver or in the core. This meant the ioctl to get the event chrdev would fail and hence events were not available. V2: change error to -EINVAL to mark as unsuitable for reading rather than not there. Both are true depending on how you look at it. Signed-off-by: Jonathan Cameron <jic23@cam.ac.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/iio/adc')
0 files changed, 0 insertions, 0 deletions