From: Vlad Dogaru Date: Tue, 12 May 2015 14:03:24 +0000 (+0300) Subject: iio: accel: bmc150: decouple buffer and triggers X-Git-Tag: omap-for-v4.3/legacy-v2-signed~121^2~628^2~9 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c16bff4844ffa678ba0c9d077e9797506924ccdd;p=pandora-kernel.git iio: accel: bmc150: decouple buffer and triggers If the interrupt pins are not available, we should still be able to use the buffer with an external trigger. However, we won't be able to use the hardware fifo since we have no means of signalling when the watermark is reached. I also added a comment to indicate that the timestamps in bmc150_accel_data are only used for hardware fifo, since initially I was confused about duplication with pf->timestamp. Signed-off-by: Vlad Dogaru Reviewed-by: Octavian Purdila Reviewed-by: Srinivas Pandruvada Signed-off-by: Jonathan Cameron --- Reading git-diff-tree failed