summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZhang Peng <peng.zhang_8@nxp.com>2020-04-29 20:08:56 +0800
committerShengjiu Wang <shengjiu.wang@nxp.com>2020-04-30 11:12:32 +0800
commit0347fe7527d062e1762498cb5863bcd5bde0997b (patch)
treea52fe76556ca8aa879d67a5ab34c310c20a78262
parent20a5e74485abe60c61f555e7ce8e561b8f3f176b (diff)
MLK-23837 Asoc: fsl_dsp: Fix system crash when do dsp suspend test
The issue is GPU will crash when do dsp suspend test, and only meet this issue when load GPU as module. The reason is that dsp framework's global data set size little than actul size. So dsp will touch the memory that not owned dsp, then caused GPU crash. Signed-off-by: Zhang Peng <peng.zhang_8@nxp.com> (cherry picked from commit 1a17334e714037f8424e5f1df5cbcd06f6e79294)
-rw-r--r--sound/soc/fsl/fsl_dsp.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/fsl/fsl_dsp.h b/sound/soc/fsl/fsl_dsp.h
index fb01a4985c48..c813d531a5bc 100644
--- a/sound/soc/fsl/fsl_dsp.h
+++ b/sound/soc/fsl/fsl_dsp.h
@@ -128,7 +128,7 @@ struct fsl_dsp {
#define MSG_BUF_SIZE 8192
#define INPUT_BUF_SIZE 4096
#define OUTPUT_BUF_SIZE 16384
-#define DSP_CONFIG_SIZE 4096
+#define DSP_CONFIG_SIZE 8192
void *memcpy_dsp(void *dest, const void *src, size_t count);
void *memset_dsp(void *dest, int c, size_t count);