Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 5162a9e7 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "soc: qcom: bgcom: adds info log for memory allocation failure"

parents 060cf8f6 c7bf4dc9
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -565,9 +565,11 @@ int bgcom_ahb_write(void *handle, uint32_t ahb_start_addr,
		memset(fxd_mem_buffer, 0, txn_len);
		tx_buf = fxd_mem_buffer;
		is_cma_used = true;
	} else
	} else {
		pr_info("DMA memory used for size[%d]\n", txn_len);
		tx_buf = dma_zalloc_coherent(&spi->dev, txn_len,
						&dma_hndl, GFP_KERNEL);
	}

	if (!tx_buf) {
		mutex_unlock(&cma_buffer_lock);