Re: [PATCH v4 4/9] iio: accel: kionix-kx022a: annotate the lock helpers
From: Matti Vaittinen
Date: Wed Oct 28 2026 - 02:16:23 EST
On 27/10/2026 14:49, Rupesh Majhi wrote:
kx022a_turn_off_lock() returns with data->mutex held when it succeeds,
and kx022a_turn_on_unlock() releases it. Annotate both so context
analysis follows the lock into the callers.
Signed-off-by: Rupesh Majhi <zoone.rupert@xxxxxxxxx>
Reviewed-by: Matti Vaittinen <mazziesaccount@xxxxxxxxx>
Thanks.
--
Matti Vaittinen
Linux kernel developer at ROHM Semiconductors
Oulu Finland
~~ When things go utterly wrong vim users can always type :help! ~~