Commit 672fdbd5 authored by Phil Reid's avatar Phil Reid Committed by Greg Kroah-Hartman
Browse files

iio: buffer: fix the function signature to match implementation

[ Upstream commit 92397a6c ]

linux/iio/buffer-dma.h was not updated to when length was changed to
unsigned int.

Fixes: c043ec1c

 ("iio:buffer: make length types match kfifo types")
Signed-off-by: default avatarPhil Reid <>
Signed-off-by: default avatarJonathan Cameron <>
Signed-off-by: default avatarSasha Levin <>
parent 1bee5f3d
......@@ -141,7 +141,7 @@ int iio_dma_buffer_read(struct iio_buffer *buffer, size_t n,
char __user *user_buffer);
size_t iio_dma_buffer_data_available(struct iio_buffer *buffer);
int iio_dma_buffer_set_bytes_per_datum(struct iio_buffer *buffer, size_t bpd);
int iio_dma_buffer_set_length(struct iio_buffer *buffer, int length);
int iio_dma_buffer_set_length(struct iio_buffer *buffer, unsigned int length);
int iio_dma_buffer_request_update(struct iio_buffer *buffer);
int iio_dma_buffer_init(struct iio_dma_buffer_queue *queue,
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment