]> git.karo-electronics.de Git - linux-beck.git/commit
staging:iio: make iio_sw_buffer_preenable much more general.
authorJonathan Cameron <jic23@kernel.org>
Mon, 5 Dec 2011 21:37:13 +0000 (21:37 +0000)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 8 Dec 2011 19:36:12 +0000 (11:36 -0800)
commit959d2952d124f06d90d2874ac4a0edb07e26eee3
treec7ede6e09aca823e087c2c47a5cce2c509390d63
parent4d5f8d3db5efd65e36500304cfc029c2e5854a85
staging:iio: make iio_sw_buffer_preenable much more general.

Also introduces active_scan_mask storage to tell the core what is
really being currently captured from the device (different from
what is desired as often has bonus channels).

Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Acked-by: Lars-Peter Clausen <lars@metafoo.de>
Tested-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/iio/iio.h
drivers/staging/iio/industrialio-buffer.c