[PATCH] staging:iio: allow event usage when no buffer support present.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Lars-Peter pointed out this issue.

Basically the checks for whether we had a buffer were in the open
wheras they should be in the read.

I've tested this on the tsl2563 driver and it all seems fine.
Lars-Peter - could you hammer this a little to see if I have
missed any corner cases?

Thanks,

Jonathan

Jonathan Cameron (1):
  staging:iio: core.  Allow for event chrdev obtaining ioctl if no
    buffer present.

 drivers/staging/iio/iio_core.h            |    2 +-
 drivers/staging/iio/industrialio-buffer.c |    6 +++++-
 2 files changed, 6 insertions(+), 2 deletions(-)

-- 
1.7.7

--
To unsubscribe from this list: send the line "unsubscribe linux-iio" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Input]     [Linux Kernel]     [Linux SCSI]     [X.org]

  Powered by Linux