]> git.baikalelectronics.ru Git - kernel.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)
commitacfa3fcd4306019538a298f98f187f74f21d0ab7
treec7ede6e09aca823e087c2c47a5cce2c509390d63
parent9e7e5ecedf64a604f35ae766f125793b77413515
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