diff options
| author | Jaroslav Kysela <[email protected]> | 2024-12-17 10:07:26 +0000 |
|---|---|---|
| committer | Takashi Iwai <[email protected]> | 2024-12-20 08:52:15 +0000 |
| commit | 3d3f43fab4cfb9cf245e3dbffa1736ce925bb54a (patch) | |
| tree | 2f8a7f472e66952bade24e03028b05968615ffa4 /net/unix/af_unix.c | |
| parent | ALSA: compress_offload: use safe list iteration in snd_compr_task_seq() (diff) | |
| download | kernel-3d3f43fab4cfb9cf245e3dbffa1736ce925bb54a.tar.gz kernel-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/[email protected]/
Fixes: 04177158cf98 ("ALSA: compress_offload: introduce accel operation mode")
Reported-by: Dan Carpenter <[email protected]>
Cc: Vinod Koul <[email protected]>
Signed-off-by: Jaroslav Kysela <[email protected]>
Signed-off-by: Takashi Iwai <[email protected]>
Link: https://patch.msgid.link/[email protected]
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
