]> git.baikalelectronics.ru Git - kernel.git/commit
staging: iio: ad5933: switch buffer mode to software
authorAlexandru Ardelean <alexandru.ardelean@analog.com>
Thu, 25 Jan 2018 12:30:45 +0000 (14:30 +0200)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sun, 28 Jan 2018 08:24:20 +0000 (08:24 +0000)
commita2ae4e1f5bc11c46bce1b1e990e9985d76ff95a2
tree823faaa002ef857ec445eeb65469d6e241a31a71
parent6c2ae8d7062bbab1a138d55f76b075c525226bb9
staging: iio: ad5933: switch buffer mode to software

Since commit 2b7d56842526 ("staging:iio:accel:sca3000 move
to hybrid hard / soft buffer design.")
the buffer mechanism has changed and the
INDIO_BUFFER_HARDWARE flag has been unused.

Since commit 93c84d1f1842 ("iio: Add a DMAengine framework
based buffer")
the INDIO_BUFFER_HARDWARE flag has been re-purposed for
DMA buffers.

This driver has lagged behind these changes, and
in order for buffers to work, the INDIO_BUFFER_SOFTWARE
needs to be used.

Signed-off-by: Alexandru Ardelean <alexandru.ardelean@analog.com>
Fixes: 93c84d1f1842 ("iio: Add a DMAengine framework based buffer")
Cc: <Stable@vger.kernel.org>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/staging/iio/impedance-analyzer/ad5933.c