Re: IIO comments

From: Arnd Bergmann
Date: Thu Mar 17 2011 - 13:55:17 EST

On Thursday 17 March 2011 17:46:48 Jonathan Cameron wrote:
> >
> > Since I haven't fully understood the distinction between the
> > three chardevs, it may of course turn out a bad idea, but I
> > think it would simplify the core code if you could assume
> > that every iio device has exactly one chardev interface,
> > so you could give them the same unique number and manage
> > the life time together.
> It simplifies that corner, but I'm a little worried that it
> will add a lot of interlinks between the currently fairly
> disconnected elements that go through a character device.
> If we can keep those links to a minimum (which I think
> we can, but haven't tried yet!) it will be a sensible move.

Let's first work out how a single event buffer should work
using read and poll, as discussed in the other thread.
Once we have sorted that out, this may become a lot clearer.

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at