Consistently use iio_push_to_buffer instead of manually calling the buffers
store_to callback.
These crossed with Lars-Peter's patch set doing every other case.
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Acked-by: srinivas pandruvada <srinivas.pandruvada@intel.com>
datum_sz);
return;
}
- buffer->access->store_to(buffer, (u8 *)data, timestamp);
+ iio_push_to_buffer(buffer, (u8 *)data, timestamp);
}
/* Callback handler to send event after all samples are received and captured */
datum_sz);
return;
}
- buffer->access->store_to(buffer, (u8 *)data, timestamp);
+ iio_push_to_buffer(buffer, (u8 *)data, timestamp);
}
/* Callback handler to send event after all samples are received and captured */
datum_sz);
return;
}
- buffer->access->store_to(buffer, (u8 *)data, timestamp);
+ iio_push_to_buffer(buffer, (u8 *)data, timestamp);
}
/* Callback handler to send event after all samples are received and captured */
datum_sz);
return;
}
- buffer->access->store_to(buffer, (u8 *)data, timestamp);
+ iio_push_to_buffer(buffer, (u8 *)data, timestamp);
}
/* Callback handler to send event after all samples are received and captured */