On 12/12/2014 12:11 PM, Jonathan Cameron wrote:
On 12/12/14 11:08, Jonathan Cameron wrote:
On 26/11/14 17:55, Lars-Peter Clausen wrote:
If a buffer implementation does not implement the set_length() callback the
length will be static and can not be changed by userspace. Mark the length
attribute as a read only property in this case so userspace is aware of this
rather than just silently accepting any length value.
Signed-off-by: Lars-Peter Clausen <lars@xxxxxxxxxx>
Nice little change.
Having said that I doubt that longterm this will apply to many devices
as we'll be routing more and more hardware buffers through a software
front end and that front end will be variable size...
We'll probably have something like a buffer_index field in channel struct.
Anyhow, applied to the togreg branch of iio.git with fuzz etc
from my earlier patch tweaking.
Thanks.
--
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