I'd like to make a change request. I'm specifically interested in using the ADI_ENABLE signal (signal "up_adc_enable" in hdl/up_adc_channel.v at dev · analogdevicesinc/hdl · GitHub ) for synchronization/packetization on a DMA channel.
This signal is currently set when "update_scan_mode()" is called for a particular IIO device. From a LIBIIO perspective, this happens when "iio_device_create_buffer()" is run, after which "up_adc_enable" is asserted. However, when executing "iio_buffer_destroy()", "up_adc_enable" is unchanged and will remain asserted.
Can there please be a call an "update_scan_mask" when destroying a buffer so that "up_adc_enable" is de-asserted?