From: Lars-Peter Clausen Date: Thu, 17 Jul 2014 15:59:00 +0000 (+0100) Subject: iio: buffer: Coalesce adjacent demux table entries X-Git-Tag: fixes-for-v3.18-merge-window~15^2~1187^2~23 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cbe88bcc8ec2f7d6739ea67d7c91517139f0a491;p=pandora-kernel.git 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 Signed-off-by: Jonathan Cameron --- Reading git-diff-tree failed