]> www.infradead.org Git - users/jedix/linux-maple.git/commit
iio: imu: adis: Add reset to custom ops
authorRobert Budai <robert.budai@analog.com>
Mon, 17 Feb 2025 10:57:46 +0000 (12:57 +0200)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sat, 22 Feb 2025 12:23:19 +0000 (12:23 +0000)
commit7f15d7a7d12dbcb4a846ca19d9565e0c11ea6694
treef4d7e8e37141430169cbd9a8da1971199b92f095
parent3b29bcee8f6f703a5952b85fc2ffcbcfb0862db4
iio: imu: adis: Add reset to custom ops

This patch allows the custom definition of reset functionality for adis object.
It is useful in cases where the driver does not need to sleep after the reset
since it is handled by the library.

Co-developed-by: Ramona Gradinariu <ramona.gradinariu@analog.com>
Signed-off-by: Ramona Gradinariu <ramona.gradinariu@analog.com>
Co-developed-by: Antoniu Miclaus <antoniu.miclaus@analog.com>
Signed-off-by: Antoniu Miclaus <antoniu.miclaus@analog.com>
Co-developed-by: Nuno Sá <nuno.sa@analog.com>
Signed-off-by: Nuno Sá <nuno.sa@analog.com>
Signed-off-by: Robert Budai <robert.budai@analog.com>
Link: https://patch.msgid.link/20250217105753.605465-3-robert.budai@analog.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/imu/adis.c
include/linux/iio/imu/adis.h