diff mbox series

[SRU,OEM-B-OSP1,4/4] ALSA: sof: disable debug message for production release

Message ID 20190930060103.7125-5-hui.wang@canonical.com
State New
Headers show
Series alsa/sof: fix the hang issue on Dell Nebula MP platforms | expand

Commit Message

Hui Wang Sept. 30, 2019, 6:01 a.m. UTC
From: Rander Wang <rander.wang@linux.intel.com>

BugLink: https://bugs.launchpad.net/bugs/1845904

It is clear for release version without many debug messages.

Signed-off-by: Rander Wang <rander.wang@linux.intel.com>
(cherry picked from commit 6a4a82454644b858e9ad4f3d733b3b62a5aec5cc
git://github.com/thesofproject/linux.git)
Signed-off-by: Hui Wang <hui.wang@canonical.com>
---
 sound/soc/sof/Makefile        | 2 --
 sound/soc/sof/intel/Makefile  | 2 --
 sound/soc/sof/xtensa/Makefile | 2 --
 3 files changed, 6 deletions(-)
diff mbox series

Patch

diff --git a/sound/soc/sof/Makefile b/sound/soc/sof/Makefile
index 33c3ded2b7e2..8f14c9d2950b 100644
--- a/sound/soc/sof/Makefile
+++ b/sound/soc/sof/Makefile
@@ -1,7 +1,5 @@ 
 # SPDX-License-Identifier: (GPL-2.0 OR BSD-3-Clause)
 
-ccflags-y += -DDEBUG
-
 snd-sof-objs := core.o ops.o loader.o ipc.o pcm.o pm.o debug.o topology.o\
 		control.o trace.o utils.o
 
diff --git a/sound/soc/sof/intel/Makefile b/sound/soc/sof/intel/Makefile
index 03b22924d0c4..84a65c80f62a 100644
--- a/sound/soc/sof/intel/Makefile
+++ b/sound/soc/sof/intel/Makefile
@@ -1,7 +1,5 @@ 
 # SPDX-License-Identifier: (GPL-2.0 OR BSD-3-Clause)
 
-ccflags-y += -DDEBUG
-
 snd-sof-intel-byt-objs := byt.o
 snd-sof-intel-hsw-objs := hsw.o
 snd-sof-intel-bdw-objs := bdw.o
diff --git a/sound/soc/sof/xtensa/Makefile b/sound/soc/sof/xtensa/Makefile
index 34b27be0f7be..cc89c7472a38 100644
--- a/sound/soc/sof/xtensa/Makefile
+++ b/sound/soc/sof/xtensa/Makefile
@@ -1,7 +1,5 @@ 
 # SPDX-License-Identifier: (GPL-2.0 OR BSD-3-Clause)
 
-ccflags-y += -DDEBUG
-
 snd-sof-xtensa-dsp-objs := core.o
 
 obj-$(CONFIG_SND_SOC_SOF_XTENSA) += snd-sof-xtensa-dsp.o