]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
media: pci: mg4b: use iio_push_to_buffers_with_ts()
authorDavid Lechner <dlechner@baylibre.com>
Fri, 5 Sep 2025 19:06:20 +0000 (14:06 -0500)
committerHans Verkuil <hverkuil+cisco@kernel.org>
Tue, 14 Oct 2025 13:07:37 +0000 (15:07 +0200)
commit2a0935ac4bac0607b5d70cc408d83cb43f20cb88
treec446efc462d845f90a3132aa79122d44ed674d84
parent142b1473c85b1625e28effb0d94c8657064a0a13
media: pci: mg4b: use iio_push_to_buffers_with_ts()

Replace iio_push_to_buffers_with_timestamp() with
iio_push_to_buffers_with_ts(). This adds an extra argument with the
buffer size to ensure that we aren't writing past the end of the buffer.
No functional change.

Suggested-by: Jonathan Cameron <jic23@kernel.org>
Closes: https://lore.kernel.org/linux-iio/20250724115610.011110fb@jic23-huawei/
Signed-off-by: David Lechner <dlechner@baylibre.com>
Reviewed-by: Jonathan Cameron <jonathan.cameron@huawei.com>
Signed-off-by: Hans Verkuil <hverkuil+cisco@kernel.org>
drivers/media/pci/mgb4/mgb4_trigger.c