iio: fix iio_push_to_buffers_with_ts() typo
Replace iio_push_to_buffer_with_ts() with iio_push_to_buffers_with_ts() in some documentation comments in iio.h. The latter is the correct name of the function, the former doesn't exist. Signed-off-by: David Lechner <dlechner@baylibre.com> Link: https://patch.msgid.link/20250722-iio-fix-iio_push_to_buffer_with_ts-typo-v1-1-6ac9efb856d3@baylibre.com Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
This commit is contained in:
committed by
Jonathan Cameron
parent
ff2501ff5c
commit
b76c739c3d
@@ -779,7 +779,7 @@ static inline void *iio_device_get_drvdata(const struct iio_dev *indio_dev)
|
||||
* them safe for use with non-coherent DMA.
|
||||
*
|
||||
* A number of drivers also use this on buffers that include a 64-bit timestamp
|
||||
* that is used with iio_push_to_buffer_with_ts(). Therefore, in the case where
|
||||
* that is used with iio_push_to_buffers_with_ts(). Therefore, in the case where
|
||||
* DMA alignment is not sufficient for proper timestamp alignment, we align to
|
||||
* 8 bytes instead.
|
||||
*/
|
||||
@@ -794,7 +794,7 @@ static inline void *iio_device_get_drvdata(const struct iio_dev *indio_dev)
|
||||
* @name: identifier name of the buffer
|
||||
* @count: number of elements in the buffer
|
||||
*
|
||||
* Declares a buffer that is safe to use with iio_push_to_buffer_with_ts(). In
|
||||
* Declares a buffer that is safe to use with iio_push_to_buffers_with_ts(). In
|
||||
* addition to allocating enough space for @count elements of @type, it also
|
||||
* allocates space for a s64 timestamp at the end of the buffer and ensures
|
||||
* proper alignment of the timestamp.
|
||||
|
||||
Reference in New Issue
Block a user