]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
iio: light: acpi-als: Use iio_push_to_buffers_with_ts() to allow runtime source size...
authorJonathan Cameron <Jonathan.Cameron@huawei.com>
Sat, 2 Aug 2025 16:44:27 +0000 (17:44 +0100)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sat, 16 Aug 2025 14:50:54 +0000 (15:50 +0100)
commitea85f5e2391dd551cea30863d4806d3264a8ec38
tree472b738bd9964766b423ef8132664fbf67270b33
parent783efeb58fefb13911a3f47d6e38a32780359f10
iio: light: acpi-als: Use iio_push_to_buffers_with_ts() to allow runtime source size check

This function allows for runtime detection of undersized storage which
can be non obvious due to the injection of a timestamp within the helper.

Cc: Gwendal Grignou <gwendal@chromium.org>
Link: https://patch.msgid.link/20250802164436.515988-8-jic23@kernel.org
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Reviewed-by: Andy Shevchenko <andy@kernel.org>
drivers/iio/light/acpi-als.c