From 2ab8a458a0ddac69e96f0923761f1dcf0b719916 Mon Sep 17 00:00:00 2001 From: Shiv Maliyappanahalli Date: Wed, 18 Jan 2017 15:22:16 -0800 Subject: drivers: soc: apr: create glink buffers dynamically It is not always guaranteed that glink will ack all tx buffers intime and hence apr might run out of tx buffers for apr message transactions. Create TX buffers dynamically instead of preallocating fixed number of buffers. Change-Id: I53c9529d1e84a88cc2e0b161a8a5047d5a475620 Signed-off-by: Shiv Maliyappanahalli --- include/linux/qdsp6v2/apr_tal.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'include/linux') diff --git a/include/linux/qdsp6v2/apr_tal.h b/include/linux/qdsp6v2/apr_tal.h index c2c49dd748de..bf324064960b 100644 --- a/include/linux/qdsp6v2/apr_tal.h +++ b/include/linux/qdsp6v2/apr_tal.h @@ -1,4 +1,4 @@ -/* Copyright (c) 2010-2011, 2016 The Linux Foundation. All rights reserved. +/* Copyright (c) 2010-2011, 2016-2017 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 @@ -32,7 +32,6 @@ #if defined(CONFIG_MSM_QDSP6_APRV2_GLINK) || \ defined(CONFIG_MSM_QDSP6_APRV3_GLINK) #define APR_MAX_BUF 512 -#define APR_NUM_OF_TX_BUF 30 #else #define APR_MAX_BUF 8092 #endif -- cgit v1.2.3