aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/kref.txt
diff options
context:
space:
mode:
authorLars-Peter Clausen <lars@metafoo.de>2011-12-19 09:23:43 -0500
committerGreg Kroah-Hartman <gregkh@suse.de>2011-12-22 16:38:07 -0500
commit5fd6218ca5928e4b59eb8a496aa1428fae1fb0d6 (patch)
tree62f88704e2776c842684c5d3ae0f79636829e185 /Documentation/kref.txt
parentd4a6882e1b9f01fa5bf7bb695081133121106dbb (diff)
staging:iio: Disallow changing scan elements in all buffered modes
Currently we only disallow changing the scan elements, while the buffer is enabled, in triggered buffer mode. This patch changes it to disallow it for all buffered modes. Disabling or enabling scan elements while the buffer is enabled will cause undefined behavior since the reader will not be able to tell samples with the new and old scan element set apart and thus wont be able to extract any meaningful data from the buffer. Acked-by: Jonathan Cameron <jic23@kernel.org> Signed-off-by: Lars-Peter Clausen <lars@metafoo.de> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'Documentation/kref.txt')
0 files changed, 0 insertions, 0 deletions