commit | cbe88bcc8ec2f7d6739ea67d7c91517139f0a491 | [log] [tgz] |
---|---|---|
author | Lars-Peter Clausen <lars@metafoo.de> | Thu Jul 17 16:59:00 2014 +0100 |
committer | Jonathan Cameron <jic23@kernel.org> | Fri Aug 01 18:26:29 2014 +0100 |
tree | b503943c96ad7eed82975b01d91b48fe0120af08 | |
parent | 61072dbc8a017039059ec0e94548e4ba31602893 [diff] |
iio: buffer: Coalesce adjacent demux table entries When copying multiple multiple samples that are adjacent in both the source as well as the destination buffer, instead of creating a new demux table entry for each sample just increase the length of the previous entry by the size of the new sample. This makes the demuxing process slightly more efficient. Signed-off-by: Lars-Peter Clausen <lars@metafoo.de> Signed-off-by: Jonathan Cameron <jic23@kernel.org>