]> git.ipfire.org Git - thirdparty/linux.git/commit
iio: accel: bma220: populate buffer ts in trigger handler
authorPetre Rodan <petre.rodan@subdimension.ro>
Sun, 5 Oct 2025 13:12:21 +0000 (16:12 +0300)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sun, 19 Oct 2025 10:59:19 +0000 (11:59 +0100)
commit480f08a6892e3de415c8063121d5e198c4120ed7
treec64144ce91b49d2706d913d87d51cf2b9a958ad0
parent5c27f1332282522de8da839bbdd2d1b2f0a6c960
iio: accel: bma220: populate buffer ts in trigger handler

Populate buffer timestamps in trigger handler since not all
triggers can run the top half handler that provides
pf->timestamp.

Fixes failing unit test that triggers based on the INT signal.

Signed-off-by: Petre Rodan <petre.rodan@subdimension.ro>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/accel/bma220_core.c