]> git.karo-electronics.de Git - linux-beck.git/commit
iio: Always compute masklength
authorLars-Peter Clausen <lars@metafoo.de>
Fri, 29 May 2015 16:14:20 +0000 (18:14 +0200)
committerJonathan Cameron <jic23@kernel.org>
Mon, 1 Jun 2015 10:24:57 +0000 (11:24 +0100)
commit629bc02331f7aae6ef775fb4c15e6d8aa58722f1
treeafc7edfc68216d3e69e66b5280af99f793c489c0
parent4dcaa5f75473271ea83545eb5a95db8d7a152362
iio: Always compute masklength

Even if no userspace consumer buffer is attached to the IIO device at
registration we still need to compute the masklength, since it is possible
that a in-kernel consumer buffer is going to get attached to the device at
a later point.

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/iio/industrialio-buffer.c