]> git.karo-electronics.de Git - mv-sheeva.git/commit
staging:iio: add demux optionally to path from device to buffer
authorJonathan Cameron <jic23@cam.ac.uk>
Mon, 5 Dec 2011 21:37:14 +0000 (21:37 +0000)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 8 Dec 2011 19:36:12 +0000 (11:36 -0800)
commit5ada4ea9be1614644687d61dd4a2ae771964f8b5
treeff3eb5c0697fefa490f6c326b7ee494ac6842823
parent959d2952d124f06d90d2874ac4a0edb07e26eee3
staging:iio: add demux optionally to path from device to buffer

This gives you only what you ask for which is handy
for some devices with weird scan combinations.

Routes all data flow through a core utility function.
That and this demuxing support will be needed to do
demuxing to multiple destinations in kernel.

Signed-off-by: Jonathan Cameron <jic23@cam.ac.uk>
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/buffer.h
drivers/staging/iio/industrialio-buffer.c