replace common qcom sources with samsung ones

This commit is contained in:
SaschaNes
2025-08-12 22:13:00 +02:00
parent ba24dcded9
commit 6f7753de11
5682 changed files with 2450203 additions and 103634 deletions

View File

@@ -939,11 +939,6 @@ static int modify_dma_buf_addr(struct spcom_channel *ch, void *buf,
for (i = 0 ; i < ARRAY_SIZE(ch->dmabuf_array) ; i++) {
if (ch->dmabuf_array[i].handle == dma_buf) {
if (ch->dmabuf_array[i].attach != NULL) {
dma_buf_unmap_attachment(ch->dmabuf_array[i].attach,
ch->dmabuf_array[i].sg, DMA_BIDIRECTIONAL);
dma_buf_detach(dma_buf, ch->dmabuf_array[i].attach);
}
ch->dmabuf_array[i].attach = attach;
ch->dmabuf_array[i].sg = sg;
found_handle = true;