OSDN Git Service

iio: kfifo-buffer: Add output buffer support
authorLars-Peter Clausen <lars@metafoo.de>
Thu, 7 Oct 2021 08:00:31 +0000 (08:00 +0000)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Tue, 19 Oct 2021 07:30:45 +0000 (08:30 +0100)
commit1546d6718dc92b27935931ee4e4c2e9893ef3066
tree3f85ffc0827f58c332958e28bf5022b2858d5ab7
parent9eeee3b0bf190b4f677af27e24ba0cd1c030e49b
iio: kfifo-buffer: Add output buffer support

Add output buffer support to the kfifo buffer implementation.

The implementation is straight forward and mostly just wraps the kfifo
API to provide the required operations.

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Alexandru Ardelean <alexandru.ardelean@analog.com>
Signed-off-by: Mihail Chindris <mihail.chindris@analog.com>
Link: https://lore.kernel.org/r/20211007080035.2531-3-mihail.chindris@analog.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/buffer/kfifo_buf.c