]> www.infradead.org Git - users/jedix/linux-maple.git/commit
iio: adc: ad9467: add backend test mode helpers
authorNuno Sa <nuno.sa@analog.com>
Fri, 2 Aug 2024 14:27:05 +0000 (16:27 +0200)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sat, 3 Aug 2024 13:36:45 +0000 (14:36 +0100)
commit5b30937b0bd348d8eb8b76ade3476c50ef187cd0
treeebc62efb6163691dbfb673f127360d890cf056d6
parentc031fee0425b80e96e5a062f041ee5ce2e20fcf3
iio: adc: ad9467: add backend test mode helpers

Group the backend configurations to be done in preparing and stopping
calibration in two new helpers analogous to ad9467_testmode_set(). This
is in preparation for adding support for debugFS test_mode where
we need similar configurations as in the calibration process.

Signed-off-by: Nuno Sa <nuno.sa@analog.com>
Link: https://patch.msgid.link/20240802-dev-iio-backend-add-debugfs-v2-7-4cb62852f0d0@analog.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/adc/ad9467.c