]> www.infradead.org Git - users/jedix/linux-maple.git/commit
iio: adc: adi-axi-adc: split axi_adc_chan_status()
authorNuno Sa <nuno.sa@analog.com>
Fri, 2 Aug 2024 14:27:03 +0000 (16:27 +0200)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sat, 3 Aug 2024 13:36:45 +0000 (14:36 +0100)
commit232cca61cf2f964bebbec66504a86b4ce36b6842
tree8161918e3890182a989dbe495c2199fccee9fdb6
parent53d7a77dac2534e179eb6b9954877de2ffc44e07
iio: adc: adi-axi-adc: split axi_adc_chan_status()

Add a new axi_adc_read_chan_status() helper so we get the raw register
value out of it.

This is in preparation of a future change where we really want to look
into dedicated bits of the register.

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