On Thu, Dec 26, 2024 at 08:00:18PM +0100, Jaroslav Kysela wrote: > I already made almost similar patch: > > https://lore.kernel.org/linux-sound/20241217100726.732863-1-perex@xxxxxxxx/ Umm... The only problem with your variant is that dma_buf_get() is wrong here - it should be get_dma_buf() on actual objects, and it should be done before fd_install().