diff options
| author | Shiv Maliyappanahalli <smaliyap@codeaurora.org> | 2017-01-18 15:22:16 -0800 |
|---|---|---|
| committer | Shiv Maliyappanahalli <smaliyap@codeaurora.org> | 2017-01-20 17:25:44 -0800 |
| commit | 2ab8a458a0ddac69e96f0923761f1dcf0b719916 (patch) | |
| tree | faf0c48b152e65dc466d5efb62cb7498f4629d66 /include/linux | |
| parent | ebc5196e3eb88a2f28ef461caacf62d4459477d8 (diff) | |
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 <smaliyap@codeaurora.org>
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/qdsp6v2/apr_tal.h | 3 |
1 files changed, 1 insertions, 2 deletions
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 |
