Needs an ACK from appropriate maintainer, but otherwise I'm fine doingI'm working on the patches right now, just one quick question.+ iio_buffer_dmabuf_put(attach);As below. Feels like a __free(dma_buf_put) bit of magic would be a
+
+out_dmabuf_put:
+ dma_buf_put(dmabuf);
nice to have.
Having a __free(dma_buf_put) requires that dma_buf_put is first
"registered" as a freeing function using DEFINE_FREE() in <linux/dma-
buf.h>, which has not been done yet.
That would mean carrying a dma-buf specific patch in your tree, are you
OK with that?
so. Alternative is to circle back to this later after this code is upstream.
Cheers,
-Paul