aboutsummaryrefslogtreecommitdiff
path: root/sound/core/memalloc.c
diff options
context:
space:
mode:
authorJaroslav Kysela <perex@perex.cz>2024-12-17 11:07:26 +0100
committerTakashi Iwai <tiwai@suse.de>2024-12-20 09:52:15 +0100
commit3d3f43fab4cfb9cf245e3dbffa1736ce925bb54a (patch)
tree2f8a7f472e66952bade24e03028b05968615ffa4 /sound/core/memalloc.c
parentf25a51b47c61540585a9e8a4e16f91677ebcbbc4 (diff)
downloadlinux-3d3f43fab4cfb9cf245e3dbffa1736ce925bb54a.tar.gz
linux-3d3f43fab4cfb9cf245e3dbffa1736ce925bb54a.tar.bz2
linux-3d3f43fab4cfb9cf245e3dbffa1736ce925bb54a.zip
ALSA: compress_offload: improve file descriptors installation for dma-buf
Avoid to use single dma_buf_fd() call for both directions. This code ensures that both file descriptors are allocated before fd_install(). Link: https://lore.kernel.org/linux-sound/6a923647-4495-4cff-a253-b73f48cfd0ea@stanley.mountain/ Fixes: 04177158cf98 ("ALSA: compress_offload: introduce accel operation mode") Reported-by: Dan Carpenter <dan.carpenter@linaro.org> Cc: Vinod Koul <vkoul@kernel.org> Signed-off-by: Jaroslav Kysela <perex@perex.cz> Signed-off-by: Takashi Iwai <tiwai@suse.de> Link: https://patch.msgid.link/20241217100726.732863-1-perex@perex.cz
Diffstat (limited to 'sound/core/memalloc.c')
0 files changed, 0 insertions, 0 deletions