msm: ipa: fix to not use stack memory to store descriptors

Make changes to not to use stack memory to store the content
from descriptors in case of COAL/Defaul pipe.

Change-Id: Icfdad59022a5cad27ec95a0bf9c80e96a2a93da9
Signed-off-by: Chaitanya Pratapa <cpratapa@codeaurora.org>
This commit is contained in:
Chaitanya Pratapa 2020-12-02 20:30:52 -08:00 committed by Bojun Pan
parent 9ba94188f5
commit a168932c2d

View File

@ -1,7 +1,7 @@
// SPDX-License-Identifier: GPL-2.0-only
/*
* Copyright (c) 2012-2020, The Linux Foundation. All rights reserved.
* Copyright (c) 2012-2021, The Linux Foundation. All rights reserved.
*/
#include <linux/delay.h>
@ -5271,7 +5271,7 @@ int ipa3_rx_poll(u32 clnt_hdl, int weight)
int remain_aggr_weight;
int ipa_ep_idx;
struct ipa_active_client_logging_info log;
struct gsi_chan_xfer_notify notify[IPA_WAN_NAPI_MAX_FRAMES];
static struct gsi_chan_xfer_notify notify[IPA_WAN_NAPI_MAX_FRAMES];
IPA_ACTIVE_CLIENTS_PREP_SPECIAL(log, "NAPI");