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

Commit cf8b722b 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: ipc_router_glink_xprt: Queue receive intents appropriately"

parents 3bc2e8bd af23d426
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
/* Copyright (c) 2014-2015, The Linux Foundation. All rights reserved.
/* Copyright (c) 2014-2016, The Linux Foundation. All rights reserved.
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License version 2 and
@@ -466,6 +466,9 @@ static bool glink_xprt_notify_rx_intent_req(void *handle, const void *priv,
	struct ipc_router_glink_xprt *glink_xprtp =
		(struct ipc_router_glink_xprt *)priv;

	if (sz <= DEFAULT_RX_INTENT_SIZE)
		return true;

	qrx_intent_work = kmalloc(sizeof(struct queue_rx_intent_work),
				  GFP_KERNEL);
	if (!qrx_intent_work) {