summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorLiang Jie <liangjie@lixiang.com>2025-11-14 11:47:25 +0300
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2025-11-15 20:31:31 +0300
commit0de73abe5f5c2b58d66d6dcb7d44df05b0f73684 (patch)
tree42626ae65059a5899b13eed25bffd9a1887f548d /scripts
parentc76ba4b2644424b8dbacee80bb40991eac29d39e (diff)
downloadlinux-0de73abe5f5c2b58d66d6dcb7d44df05b0f73684.tar.xz
iio: buffer: use dma_buf_unmap_attachment_unlocked() helper
Replace open-coded dma_resv_lock()/dma_resv_unlock() around dma_buf_unmap_attachment() in iio_buffer_dmabuf_release() with the dma_buf_unmap_attachment_unlocked() helper. This aligns with the standard DMA-BUF API, avoids duplicating locking logic and eases future maintenance. No functional change. Reviewed-by: fanggeng <fanggeng@lixiang.com> Signed-off-by: Liang Jie <liangjie@lixiang.com> Reviewed-by: Nuno Sá <nuno.sa@analog.com> Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions