All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] staging:iio: allow event usage when no buffer support present.
@ 2011-10-21 11:34 Jonathan Cameron
  2011-10-21 11:34 ` [PATCH] staging:iio: core. Allow for event chrdev obtaining ioctl if no buffer present Jonathan Cameron
  0 siblings, 1 reply; 6+ messages in thread
From: Jonathan Cameron @ 2011-10-21 11:34 UTC (permalink / raw)
  To: linux-iio; +Cc: lars, Jonathan Cameron

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2011-10-21 11:52 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-10-21 11:34 [PATCH] staging:iio: allow event usage when no buffer support present Jonathan Cameron
2011-10-21 11:34 ` [PATCH] staging:iio: core. Allow for event chrdev obtaining ioctl if no buffer present Jonathan Cameron
2011-10-21 11:46   ` Lars-Peter Clausen
2011-10-21 11:47     ` Jonathan Cameron
2011-10-21 11:52       ` [PATCH V2] staging:iio: allow event usage when no buffer support present Jonathan Cameron
2011-10-21 11:53         ` [PATCH] staging:iio: core. Allow for event chrdev obtaining ioctl if no buffer present Jonathan Cameron

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.