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

Commit 03c85ea5 authored by qctecmdr's avatar qctecmdr Committed by Gerrit - the friendly Code Review server
Browse files

Merge "rpmsg: qcom_smd: increase bounce buffer size"

parents 09173571 065c8986
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -809,9 +809,9 @@ static int qcom_smd_channel_open(struct qcom_smd_channel *channel,
	size_t bb_size;

	/*
	 * Packets are maximum 4k, but reduce if the fifo is smaller
	 * Packets are maximum 8k, but reduce if the fifo is smaller
	 */
	bb_size = min(channel->fifo_size, SZ_4K);
	bb_size = min(channel->fifo_size, SZ_8K);
	channel->bounce_buffer = kmalloc(bb_size, GFP_KERNEL);
	if (!channel->bounce_buffer)
		return -ENOMEM;