sensor: add iio buffer store length support

The iio length is just for allow buffer to store data,
2.5's raw data at least. the store_length is just the
real raw data length you want to batch in the buffer.
We must ensure length is large or equal to store_length.

Change-Id: I79b26daa9e95d853e649c3e2f6eb470bf636a5cc
Signed-off-by: Fei Li <>
2 files changed
tree: a692de68d913be647a55f52d8d02ac8094a92f2e
  2. als/
  3. libsensors_iio/
  4. tilt/